Sdílet prostřednictvím


SmtpException.ISerializable.GetObjectData Metoda

Definice

Naplní SerializationInfo instanci dat potřebnými k serializaci objektu 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

Parametry

serializationInfo
SerializationInfo

A SerializationInfo, který obsahuje serializovaná data pro SmtpException.

streamingContext
StreamingContext

A StreamingContext , který obsahuje cíl serializovaného datového proudu přidruženého k novému SmtpException.

Implementuje

Platí pro

Viz také