ExceptionDetail Constructor
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Initializes a new instance of the ExceptionDetail class from the exception.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- exception
- Type: System.Exception
The exception to be serialized as an ExceptionDetail object.
| Exception | Condition |
|---|---|
| ArgumentNullException | The exception parameter is Nothing. |
The help link, message, stack trace, and type name information is extracted and added to the equivalent properties in ExceptionDetail when instantiated from the exception parameter.
Show: