SmtpFailedRecipientException.ISerializable.GetObjectData Method (SerializationInfo, StreamingContext)
.NET Framework (current version)
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.
Assembly: System (in System.dll)
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)]
void ISerializable.GetObjectData(
SerializationInfo serializationInfo,
StreamingContext streamingContext
)
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
Available since 2.0
Show: