SmtpFailedRecipientException::ISerializable::GetObjectData Method (SerializationInfo^, StreamingContext)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Populates a SerializationInfo instance with the data that is needed to serialize the SmtpFailedRecipientException.

Namespace:   System.Net.Mail
Assembly:  System (in System.dll)

private:
[SecurityPermissionAttribute(SecurityAction::LinkDemand, Flags = SecurityPermissionFlag::SerializationFormatter)]
virtual void GetObjectData(
	SerializationInfo^ serializationInfo,
	StreamingContext streamingContext
) sealed = ISerializable::GetObjectData

Parameters

serializationInfo
Type: System.Runtime.Serialization::SerializationInfo^

A SerializationInfo instance, which holds the serialized data for the SmtpFailedRecipientException.

streamingContext
Type: System.Runtime.Serialization::StreamingContext

A StreamingContext instance that contains the destination of the serialized stream that is associated with the new SmtpFailedRecipientException.

.NET Framework
Available since 2.0
Return to top
Show: