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
Info
Type: System.Runtime.Serialization.SerializationInfoA serialized version of the data for the exception object.
Context
Type: System.Runtime.Serialization.StreamingContextAn object with information about the source and destination of the exception.
Remarks
This constructor is called during deserialization to reconstitute the exception object transmitted over a stream. For more information, see XML and SOAP Serialization.