共用方式為


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

與參數相關聯之序列化資料流的來源和目的端。

實作

適用於