System.Net.Mail.SmtpException.GetObjectData Method

Populates a System.Runtime.Serialization.SerializationInfo instance with the data needed to serialize the System.Net.Mail.SmtpException.

Syntax

public override void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)

Parameters

info
Documentation for this section has not yet been entered.
context
Documentation for this section has not yet been entered.

Remarks

Any objects included in the System.Runtime.Serialization.SerializationInfo are automatically tracked and serialized by the formatter.

Requirements

Namespace: System.Net.Mail
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0