SmtpFailedRecipientsException.ISerializable.GetObjectData(SerializationInfo, StreamingContext) Method

Definition

Initializes a new instance of the SmtpFailedRecipientsException class from the specified SerializationInfo and StreamingContext instances.

 virtual void System.Runtime.Serialization.ISerializable.GetObjectData(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext) = System::Runtime::Serialization::ISerializable::GetObjectData;
 virtual void System.Runtime.Serialization.ISerializable.GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context) = 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 info, System.Runtime.Serialization.StreamingContext context);
Sub GetObjectData (info As SerializationInfo, context As StreamingContext) Implements ISerializable.GetObjectData

Parameters

serializationInfoinfo
SerializationInfo

A SerializationInfo that contains the information required to serialize the new SmtpFailedRecipientsException.

streamingContextcontext
StreamingContext

A StreamingContext that contains the source of the serialized stream that is associated with the new SmtpFailedRecipientsException.

Implements

Remarks

This constructor implements the ISerializable interface for the SmtpFailedRecipientsException class.

Applies to