MBrace.Core


ExceptionDispatchInfo

Namespace: MBrace.Core.Internals

Replacement for System.Runtime.ExceptionServices.ExceptionDispatchInfo that is serializable and permits symbolic appending to stacktrace

Instance members

Instance memberDescription
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: get_IsFaultException

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 memberDescription
Capture(exn, isFaultException)
Signature: (exn:exn * isFaultException:bool option) -> ExceptionDispatchInfo

Captures the provided exception stacktrace into an ExceptionDispatchInfo instance.

Fork me on GitHub