Compartir a través de


FileWebRequest(SerializationInfo, StreamingContext) Constructor

Definición

Precaución

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

Precaución

Serialization has been deprecated for FileWebRequest.

Precaución

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

Inicializa una nueva instancia de la clase FileWebRequest desde las instancias especificadas de las clases SerializationInfo y 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

Objeto SerializationInfo que contiene la información necesaria para serializar el nuevo objeto FileWebRequest.

streamingContext
StreamingContext

Objeto StreamingContext que contiene el origen de la secuencia serializada asociada al nuevo objeto FileWebRequest.

Atributos

Comentarios

Este constructor implementa la ISerializable interfaz de la FileWebRequest clase .

Se aplica a

Consulte también