Assembly.GetObjectData(SerializationInfo, StreamingContext) メソッド

定義

シリアル化情報と、このアセンブリの再インスタンス化に必要なすべてのデータを取得します。Gets serialization information with all of the data needed to reinstantiate this assembly.

public:
 virtual void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
public virtual void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Security.SecurityCritical]
public virtual void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
abstract member GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Public Overridable Sub GetObjectData (info As SerializationInfo, context As StreamingContext)

パラメーター

info
SerializationInfo

シリアル化情報が設定されるオブジェクト。The object to be populated with serialization information.

context
StreamingContext

シリアル化の対象コンテキスト。The destination context of the serialization.

実装

属性

例外

infonull です。info is null.

適用対象