PeerObject.GetObjectData(SerializationInfo, StreamingContext) 메서드

정의

지정된 SerializationInfo를 serialize하는 데 필요한 데이터로 PeerObject를 채웁니다.Populates a SerializationInfo with the data required to serialize the specified PeerObject.

protected:
 virtual void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected 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
Protected Overridable Sub GetObjectData (info As SerializationInfo, context As StreamingContext)

매개 변수

info
SerializationInfo

데이터로 채울 SerializationInfo 인스턴스입니다.The SerializationInfo instance to populate with data.

context
StreamingContext

serialization의 대상입니다.The destination for the serialization.

설명

파생된 형식은 기본 형식 GetObjectData 메서드를 호출해야 합니다.A derived type must call the base type GetObjectData method.

적용 대상

추가 정보