LdapException.GetObjectData(SerializationInfo, StreamingContext) 方法

定义

GetObjectData(SerializationInfo, StreamingContext) 方法使用序列化参数所需的数据填充 SerializationInfo 对象。

public:
 override void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
public override void GetObjectData (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Public Overrides Sub GetObjectData (serializationInfo As SerializationInfo, streamingContext As StreamingContext)

参数

serializationInfo
SerializationInfo

序列化参数所需的数据。

streamingContext
StreamingContext

与该参数相关联的序列化流的源和目标。

实现

适用于