다음을 통해 공유


DBConcurrencyException.GetObjectData 메서드

정의

주의

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

지정된 serialization 정보 개체를 DBConcurrencyException을 serialize하는 데 필요한 데이터로 채웁니다.

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과 연결된 serialize된 개체가 들어 있는 DBConcurrencyException입니다.

context
StreamingContext

StreamingContext과 연결된 serialize된 스트림의 소스와 대상이 들어 있는 DBConcurrencyException입니다.

특성

예외

info매개 변수가 null 참조(Visual Basic에서는 Nothing)인 경우

적용 대상

추가 정보