WebRequest.GetObjectData(SerializationInfo, StreamingContext) Metodo

Definizione

Attenzione

Serialization has been deprecated for WebRequest.

Popola un oggetto SerializationInfo con i dati necessari per serializzare l'oggetto di destinazione.

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);
[System.Obsolete("Serialization has been deprecated for WebRequest.")]
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
[<System.Obsolete("Serialization has been deprecated for WebRequest.")>]
abstract member GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Protected Overridable Sub GetObjectData (serializationInfo As SerializationInfo, streamingContext As StreamingContext)

Parametri

serializationInfo
SerializationInfo

Oggetto SerializationInfo da popolare con i dati.

streamingContext
StreamingContext

Oggetto StreamingContext che specifica la destinazione per la serializzazione.

Attributi

Commenti

Tutti gli oggetti inclusi nell'oggetto SerializationInfo vengono rilevati automaticamente e serializzati dal formattatore.

Si applica a