Condividi tramite


FileWebResponse.GetObjectData(SerializationInfo, StreamingContext) Metodo

Definizione

Attenzione

Serialization has been deprecated for FileWebResponse.

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 FileWebResponse.")]
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 FileWebResponse.")>]
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 nell'oggetto SerializationInfo vengono rilevati automaticamente e serializzati dal formattatore.

Si applica a