Creates a new instance of the ExceptionDetailObject class from the exception.

Namespace: BrightstarDB.Dto
Assembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)

Syntax

C#
public ExceptionDetailObject(
	Exception exception,
	Dictionary<string, string> data
)
Visual Basic
Public Sub New ( 
	exception As Exception,
	data As Dictionary(Of String, String)
)
Visual C++
public:
ExceptionDetailObject(
	Exception^ exception, 
	Dictionary<String^, String^>^ data
)
F#
new : 
        exception : Exception * 
        data : Dictionary<string, string> -> ExceptionDetailObject

Parameters

exception
Type: System..::..Exception
The exception to be serialized as an ExceptionDetailObject
data
Type: System.Collections.Generic..::..Dictionary<(Of <(<'String, String>)>)>
Additional data to serialize with the type and message of the exception.

See Also