WebRequest.GetObjectData(SerializationInfo, StreamingContext) Metoda

Definice

Upozornění

Serialization has been deprecated for WebRequest.

Naplní SerializationInfo objekt daty potřebnými k serializaci cílového objektu.

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)

Parametry

serializationInfo
SerializationInfo

Chcete-li SerializationInfo naplnit daty.

streamingContext
StreamingContext

A StreamingContext , který určuje cíl pro tuto serializaci.

Atributy

Poznámky

Všechny objekty zahrnuté v objektu SerializationInfo jsou automaticky sledovány a serializovány formátovacím nástrojem.

Platí pro