SmtpException.GetObjectData(SerializationInfo, StreamingContext) 메서드

정의

SerializationInfo을 serialize하는 데 필요한 데이터로 SmtpException 인스턴스를 채웁니다.Populates a SerializationInfo instance with the data needed to serialize the SmtpException.

public:
 override void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
public:
 override void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
public override void GetObjectData (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
public override void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
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 (serializationInfo As SerializationInfo, streamingContext As StreamingContext)
Public Overrides Sub GetObjectData (info As SerializationInfo, context As StreamingContext)

매개 변수

serializationInfoinfo
SerializationInfo

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

streamingContextcontext
StreamingContext

이 직렬화의 대상을 지정하는 StreamingContext입니다.A StreamingContext that specifies the destination for this serialization.

설명

에 포함 된 개체는 SerializationInfo 포맷터에 의해 자동으로 추적 되 고 serialize 됩니다.Any objects included in the SerializationInfo are automatically tracked and serialized by the formatter.

적용 대상