Partilhar via


FileWebResponse.GetObjectData(SerializationInfo, StreamingContext) Método

Definição

Cuidado

Serialization has been deprecated for FileWebResponse.

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);
protected override void GetObjectData (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
[System.Obsolete("Serialization has been deprecated for FileWebResponse.")]
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 FileWebResponse.")>]
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