Aracılığıyla paylaş


WebRequest.GetObjectData(SerializationInfo, StreamingContext) Yöntem

Tanım

Dikkat

Serialization has been deprecated for WebRequest.

hedef nesneyi seri hale getirmek için gereken verilerle doldurur SerializationInfo .

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)

Parametreler

serializationInfo
SerializationInfo

SerializationInfo verilerle doldurulacak.

streamingContext
StreamingContext

StreamingContext Bu serileştirme için hedefi belirten bir.

Öznitelikler

Açıklamalar

içinde SerializationInfo bulunan tüm nesneler, biçimlendirici tarafından otomatik olarak izlenir ve serileştirilir.

Şunlara uygulanır