Condividi tramite


FileWebRequest.GetObjectData(SerializationInfo, StreamingContext) Metodo

Definizione

Attenzione

Serialization has been deprecated for FileWebRequest.

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

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);
[System.Obsolete("Serialization has been deprecated for FileWebRequest.")]
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
[<System.Obsolete("Serialization has been deprecated for FileWebRequest.")>]
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.

streamingContext
StreamingContext

Oggetto StreamingContext che specifica la destinazione per la serializzazione.

Attributi

Commenti

Tutti gli oggetti inclusi in SerializationInfo vengono rilevati e serializzati automaticamente dal formattatore.

Si applica a