Partilhar via


HttpWebRequest.GetObjectData(SerializationInfo, StreamingContext) Método

Definição

Cuidado

Serialization is obsoleted for this type. https://go.microsoft.com/fwlink/?linkid=14202

Cuidado

Serialization has been deprecated for HttpWebRequest.

Cuidado

Serialization is obsoleted for this type. http://go.microsoft.com/fwlink/?linkid=14202

Popula um SerializationInfo com os dados necessários para serializar o objeto de destino.

protected:
 override void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
[System.Obsolete("Serialization is obsoleted for this type.  https://go.microsoft.com/fwlink/?linkid=14202")]
protected override void GetObjectData (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
[System.Obsolete("Serialization has been deprecated for HttpWebRequest.")]
protected override void GetObjectData (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
[System.Obsolete("Serialization is obsoleted for this type.  http://go.microsoft.com/fwlink/?linkid=14202")]
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 is obsoleted for this type.  https://go.microsoft.com/fwlink/?linkid=14202")>]
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
[<System.Obsolete("Serialization has been deprecated for HttpWebRequest.")>]
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
[<System.Obsolete("Serialization is obsoleted for this type.  http://go.microsoft.com/fwlink/?linkid=14202")>]
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
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

O SerializationInfo a ser preenchido com dados.

streamingContext
StreamingContext

Um StreamingContext que especifica o destino dessa serialização.

Atributos

Comentários

Todos os objetos incluídos no SerializationInfo são rastreados e serializados automaticamente pelo formatador.

Aplica-se a