Condividi tramite


SmtpException.ISerializable.GetObjectData Metodo

Definizione

Compila un'istanza SerializationInfo con i dati necessari per serializzare l'oggetto SmtpException.

 virtual void System.Runtime.Serialization.ISerializable.GetObjectData(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext) = 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 serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
abstract member System.Runtime.Serialization.ISerializable.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
override this.System.Runtime.Serialization.ISerializable.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Sub GetObjectData (serializationInfo As SerializationInfo, streamingContext As StreamingContext) Implements ISerializable.GetObjectData

Parametri

serializationInfo
SerializationInfo

Oggetto SerializationInfo che contiene i dati serializzati per SmtpException.

streamingContext
StreamingContext

Oggetto StreamingContext che contiene la destinazione del flusso serializzato associato al nuovo oggetto SmtpException.

Implementazioni

Si applica a

Vedi anche