次の方法で共有


DBConcurrencyException.GetObjectData メソッド

定義

注意事項

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

DBConcurrencyException をシリアル化するために必要なデータを指定したシリアル化情報オブジェクトに設定します。

public:
 override void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
public:
 override void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ si, System::Runtime::Serialization::StreamingContext context);
public override void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public override void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
public override void GetObjectData (System.Runtime.Serialization.SerializationInfo si, System.Runtime.Serialization.StreamingContext context);
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Public Overrides Sub GetObjectData (info As SerializationInfo, context As StreamingContext)
Public Overrides Sub GetObjectData (si As SerializationInfo, context As StreamingContext)

パラメーター

infosi
SerializationInfo

SerializationInfo と関連付けるシリアル化データを保持する DBConcurrencyException

context
StreamingContext

StreamingContext に関連付けるシリアル化ストリームの転送元および転送先を格納する DBConcurrencyException

属性

例外

info パラメーターが null 参照 (Visual Basic の場合は Nothing) です。

適用対象

こちらもご覧ください