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

Définition

Remplit SerializationInfo avec les données qui sont nécessaires pour sérialiser l'objet cible.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

Paramètres

serializationInfo
SerializationInfo SerializationInfo SerializationInfo

SerializationInfo à remplir de données.The SerializationInfo to populate with data.

streamingContext
StreamingContext StreamingContext StreamingContext

StreamingContext qui spécifie la destination de cette sérialisation.A StreamingContext that specifies the destination for this serialization.

Implémente

Remarques

Tous les objets inclus dans le SerializationInfo sont automatiquement suivies et sérialisé par le formateur.Any objects included in the SerializationInfo are automatically tracked and serialized by the formatter.

S’applique à