SmtpException.GetObjectData(SerializationInfo, StreamingContext) SmtpException.GetObjectData(SerializationInfo, StreamingContext) SmtpException.GetObjectData(SerializationInfo, StreamingContext) SmtpException.GetObjectData(SerializationInfo, StreamingContext) Method

Definizione

Compila un'istanza SerializationInfo con i dati necessari per serializzare l'oggetto SmtpException.Populates a SerializationInfo instance with the data needed to serialize the SmtpException.

public:
 override void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
public override void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Public Overrides Sub GetObjectData (info As SerializationInfo, context As StreamingContext)

Parametri

serializationInfo
SerializationInfo SerializationInfo SerializationInfo SerializationInfo

Oggetto SerializationInfo da popolare con i dati.The SerializationInfo to populate with data.

streamingContext
StreamingContext StreamingContext StreamingContext StreamingContext

Oggetto StreamingContext che specifica la destinazione per la serializzazione.A StreamingContext that specifies the destination for this serialization.

Implementazioni

Commenti

Tutti gli oggetti inclusi in SerializationInfo vengono automaticamente rilevati e serializzati dal formattatore.Any objects included in the SerializationInfo are automatically tracked and serialized by the formatter.

Si applica a