共用方式為


SmtpFailedRecipientException.ISerializable.GetObjectData 方法

定義

以序列化 SerializationInfo 所需的資料填入 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);
void ISerializable.GetObjectData (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
override this.System.Runtime.Serialization.ISerializable.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Sub GetObjectData (serializationInfo As SerializationInfo, streamingContext As StreamingContext) Implements ISerializable.GetObjectData

參數

serializationInfo
SerializationInfo

SerializationInfo 執行個體,保留 SmtpFailedRecipientException 的序列化資料。

streamingContext
StreamingContext

StreamingContext 執行個體,包含與新 SmtpFailedRecipientException 關聯之序列化資料流的目的端。

實作

適用於

另請參閱