FileWebResponse.GetObjectData(SerializationInfo, StreamingContext) Metodo

Definizione

Popola un oggetto SerializationInfo con i dati necessari per la serializzare l'oggetto di destinazione.Populates a SerializationInfo with the data needed to serialize the target object.

protected:
 override void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
protected override void GetObjectData (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Protected Overrides Sub GetObjectData (serializationInfo As SerializationInfo, streamingContext As StreamingContext)

Parametri

serializationInfo
SerializationInfo

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

streamingContext
StreamingContext

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

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