ActiveDirectoryOperationException::GetObjectData Method (SerializationInfo^, StreamingContext)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Sets the SerializationInfo object with information about the exception.

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

public:
[SecurityPermissionAttribute(SecurityAction::LinkDemand, SerializationFormatter = true)]
virtual void GetObjectData(
	SerializationInfo^ serializationInfo,
	StreamingContext streamingContext
) override

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: