SmtpFailedRecipientsException.ISerializable.GetObjectData 方法

定义

根据指定的 SerializationInfoStreamingContext 实例初始化 SmtpFailedRecipientsException 类的新实例。

 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);
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,包含序列化新的 SmtpFailedRecipientsException 所需的信息。

streamingContext
StreamingContext

StreamingContext,它包含与新的 SmtpFailedRecipientsException 关联的序列化流的源。

实现

注解

此构造函数实现 ISerializable 类的 SmtpFailedRecipientsException 接口。

适用于