Share via


ADAccessDeniedException Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the ADAccessDeniedException 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 ADAccessDeniedException(Info, Context)
public ADAccessDeniedException(
    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

ADAccessDeniedException Class

ADAccessDeniedException Members

ADAccessDeniedException Overload

Microsoft.SharePoint.EmailIntegration Namespace