Export (0) Print
Expand All

ErrorResponseException.GetObjectData Method

The GetObjectData method populates the SerializationInfo object with the data required to serialize the parameter.

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

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

Parameters

serializationInfo
Type: System.Runtime.Serialization.SerializationInfo

Data required to serialize the parameter.

streamingContext
Type: System.Runtime.Serialization.StreamingContext

The source and destination of the serialized stream associated with the parameter.

Implements

ISerializable.GetObjectData(SerializationInfo, StreamingContext)
_Exception.GetObjectData(SerializationInfo, StreamingContext)

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft