Creates a new instance of the ExceptionDetailObject class from the exception.
Namespace: BrightstarDB.DtoAssembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)
Syntax
| C# |
|---|
public ExceptionDetailObject( Exception exception ) |
| Visual Basic |
|---|
Public Sub New ( exception As Exception ) |
| Visual C++ |
|---|
public: ExceptionDetailObject( Exception^ exception ) |
| F# |
|---|
new : exception : Exception -> ExceptionDetailObject |
Parameters
- exception
- Type: System..::..Exception
The exception to be serialized as an ExceptionDetailObject
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | The exception parameter is null |