Click or drag to resize

ClrExceptionErrorDataFromException Method (Exception, Boolean)

[This is preliminary documentation and is subject to change.]

Initializes a new ClrExceptionErrorData from an existing exception.

Namespace:  JsonRpc.Messages
Assembly:  JsonRpc.Commons (in JsonRpc.Commons.dll) Version: 0.5.4+1bad715934a0ae5922832940ca44bbbdaa509cfe
Syntax
public static ClrExceptionErrorData FromException(
	Exception ex,
	bool includesStackTrace
)

Parameters

ex
Type: SystemException
The exception from which to extract error data.
includesStackTrace
Type: SystemBoolean
Whether to set StackTrace from the given exception. Note that the stack trace may contain sensitive information.

Return Value

Type: ClrExceptionErrorData
Exceptions
ExceptionCondition
ArgumentNullExceptionex is null.
See Also