ExceptionDetail Constructor
Collapse the table of content
Expand the table of content

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.

Namespace:  System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

'Declaration
Public Sub New ( _
	exception As Exception _
)

Parameters

exception
Type: System.Exception
The exception to be serialized as an ExceptionDetail object.

ExceptionCondition
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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft