WebResponse.GetObjectData(SerializationInfo, StreamingContext) Metodo

Definizione

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

protected:
 virtual void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
protected virtual void GetObjectData (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
abstract member GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit

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.

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