OdbcException.GetObjectData(SerializationInfo, StreamingContext) 메서드
이 문서의 내용
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
주의
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
이 멤버는 GetObjectData(SerializationInfo, StreamingContext)를 재정의합니다.
public:
override void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ si, 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 si, System.Runtime.Serialization.StreamingContext context);
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo si, 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}")>]
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Public Overrides Sub GetObjectData (si As SerializationInfo, context As StreamingContext)
throw되는 예외에 대해 serialize된 개체 데이터를 보유하는 SerializationInfo입니다.
- context
- StreamingContext
소스 또는 대상에 대한 컨텍스트 정보를 포함하는 StreamingContext입니다.
- 특성
si
매개 변수가 null 참조(Visual Basic에서는 Nothing
)인 경우
GetObjectData은 직렬화를 대상으로 하는 모든 예외 개체 데이터를 사용하여 SerializationInfo를 설정합니다. 역직렬화하는 동안 스트림을 통해 전송된 SerializationInfo에서 예외가 다시 구성됩니다.
제품 | 버전 (사용되지 않음) |
---|---|
.NET | (8 (package-provided), 9 (package-provided)) |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
.NET 피드백
.NET은(는) 오픈 소스 프로젝트입니다. 다음 링크를 선택하여 피드백을 제공해 주세요.