Share via


ADException constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the ADException class from a serialized version of the exception and contextual data.

Namespace:  Microsoft.SharePoint.EmailIntegration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub New ( _
    Info As SerializationInfo, _
    Context As StreamingContext _
)
'Usage
Dim Info As SerializationInfo
Dim Context As StreamingContext

Dim instance As New ADException(Info, Context)
public ADException(
    SerializationInfo Info,
    StreamingContext Context
)

Parameters

Remarks

This constructor is called during deserialization to reconstitute the exception object transmitted over a stream. For more information, see XML and SOAP Serialization.

See also

Reference

ADException class

ADException members

ADException overload

Microsoft.SharePoint.EmailIntegration namespace