ExceptionDispatchInfo
Namespace: MBrace.Core.Internals
Replacement for System.Runtime.ExceptionServices.ExceptionDispatchInfo that is serializable and permits symbolic appending to stacktrace
Instance members
Instance member | Description |
AppendToStackTrace(lines)
Signature: lines:seq<string> -> ExceptionDispatchInfo
|
Creates a new ExceptionDispatchInfo instance with line appended to stacktrace. |
AppendToStackTrace(line)
Signature: line:string -> ExceptionDispatchInfo
|
Creates a new ExceptionDispatchInfo instance with line appended to stacktrace. |
IsFaultException
Signature: bool
|
Gets whether ExceptionDispatchInfo encapsulates a fault exception CompiledName: |
Reify(useSeparator, prepareForRaise)
Signature: (useSeparator:bool option * prepareForRaise:bool option) -> exn
|
Returns contained exception with restored stacktrace state. This operation mutates exception contents, so should be used with care. |
Static members
Static member | Description |
Capture(exn, isFaultException)
Signature: (exn:exn * isFaultException:bool option) -> ExceptionDispatchInfo
|
Captures the provided exception stacktrace into an ExceptionDispatchInfo instance. |