DirectoryException Constructor (SerializationInfo^, StreamingContext)

 

The DirectoryException(SerializationInfo^, StreamingContext) constructor creates an instance of the DirectoryException class using the specified serialization information and streaming contextual information.

Namespace:   System.DirectoryServices.Protocols
Assembly:  System.DirectoryServices.Protocols (in System.DirectoryServices.Protocols.dll)

protected:
DirectoryException(
	SerializationInfo^ info,
	StreamingContext context
)

Parameters

info
Type: System.Runtime.Serialization::SerializationInfo^

The serialized object data about the exception being thrown.

context
Type: System.Runtime.Serialization::StreamingContext

The contextual information about the source or destination.

.NET Framework
Available since 2.0
Return to top
Show: