Compartilhar via


FileWebRequest(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 FileWebRequest.

Cuidado

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

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

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

Parâmetros

serializationInfo
SerializationInfo

Um objeto SerializationInfo que contém as informações necessárias para serializar o novo objeto FileWebRequest.

streamingContext
StreamingContext

Um objeto StreamingContext que contém a origem do fluxo serializado associado ao novo objeto FileWebRequest.

Atributos

Comentários

Esse construtor implementa a ISerializable interface para a FileWebRequest classe .

Aplica-se a

Confira também