Compartir a través de


WebResponse.GetObjectData(SerializationInfo, StreamingContext) Método

Definición

Precaución

Serialization has been deprecated for WebResponse.

Llena SerializationInfo con los datos necesarios para serializar el objeto de destino.

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 WebResponse.")]
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 WebResponse.")>]
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)

Parámetros

serializationInfo
SerializationInfo

SerializationInfo que se rellena con datos.

streamingContext
StreamingContext

StreamingContext que especifica el destino de esta serialización.

Atributos

Comentarios

El formateador realiza un seguimiento y serializa automáticamente de los objetos incluidos en .SerializationInfo

Se aplica a