ActiveDirectoryOperationException.GetObjectData Method (SerializationInfo, StreamingContext)

 

Sets the SerializationInfo object with information about the exception.

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

<SecurityPermissionAttribute(SecurityAction.LinkDemand, SerializationFormatter := True)>
Public Overrides Sub GetObjectData (
	serializationInfo As SerializationInfo,
	streamingContext As StreamingContext
)

Parameters

serializationInfo
Type: System.Runtime.Serialization.SerializationInfo

The SerializationInfo object that holds serialized object data about the exception being thrown.

streamingContext
Type: System.Runtime.Serialization.StreamingContext

The StreamingContext object that contains contextual information about the source or destination.

.NET Framework
Available since 2.0
Return to top
Show: