Compartir a través de


FileWebRequest.GetObjectData(SerializationInfo, StreamingContext) Método

Definición

Precaución

Serialization has been deprecated for FileWebRequest.

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

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)

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