SmtpFailedRecipientException.ISerializable.GetObjectData(SerializationInfo, StreamingContext) SmtpFailedRecipientException.ISerializable.GetObjectData(SerializationInfo, StreamingContext) Method

定義

以序列化 SerializationInfo 所需的資料填入 SmtpFailedRecipientException 執行個體。Populates a SerializationInfo instance with the data that is needed to serialize the SmtpFailedRecipientException.

 virtual void System.Runtime.Serialization.ISerializable.GetObjectData(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext) = System::Runtime::Serialization::ISerializable::GetObjectData;
void ISerializable.GetObjectData (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);

參數

serializationInfo
SerializationInfo SerializationInfo

SerializationInfo 執行個體,保留 SmtpFailedRecipientException 的序列化資料。A SerializationInfo instance, which holds the serialized data for the SmtpFailedRecipientException.

streamingContext
StreamingContext StreamingContext

StreamingContext 執行個體,包含與新 SmtpFailedRecipientException 關聯之序列化資料流的目的端。A StreamingContext instance that contains the destination of the serialized stream that is associated with the new SmtpFailedRecipientException.

實作

適用於

另請參閱