Partilhar via


FileWebResponse(SerializationInfo, StreamingContext) Construtor

Definição

Cuidado

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

Cuidado

Serialization has been deprecated for FileWebResponse.

Cuidado

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

Inicializa uma nova instância da classe FileWebResponse das instâncias especificadas das classes SerializationInfo e StreamingContext.

protected:
 FileWebResponse(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 FileWebResponse (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
[System.Obsolete("Serialization has been deprecated for FileWebResponse.")]
protected FileWebResponse (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 FileWebResponse (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
protected FileWebResponse (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")>]
new System.Net.FileWebResponse : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Net.FileWebResponse
[<System.Obsolete("Serialization has been deprecated for FileWebResponse.")>]
new System.Net.FileWebResponse : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Net.FileWebResponse
[<System.Obsolete("Serialization is obsoleted for this type. http://go.microsoft.com/fwlink/?linkid=14202")>]
new System.Net.FileWebResponse : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Net.FileWebResponse
new System.Net.FileWebResponse : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Net.FileWebResponse
Protected Sub New (serializationInfo As SerializationInfo, streamingContext As StreamingContext)

Parâmetros

serializationInfo
SerializationInfo

Uma instância SerializationInfo que contém as informações necessárias para serializar a nova instância FileWebResponse.

streamingContext
StreamingContext

Uma instância da classe StreamingContext que contém a origem do fluxo serializado associado à nova instância de FileWebResponse.

Atributos

Comentários

Esse construtor implementa a ISerializable interface para a FileWebResponse classe .

Aplica-se a

Confira também