Condividi tramite


FileWebRequest(SerializationInfo, StreamingContext) Costruttore

Definizione

Attenzione

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

Attenzione

Serialization has been deprecated for FileWebRequest.

Attenzione

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

Inizializza una nuova istanza della classe FileWebRequest dalle istanze specificate delle classi 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)

Parametri

serializationInfo
SerializationInfo

Oggetto SerializationInfo contenente le informazioni richieste per serializzare il nuovo oggetto FileWebRequest.

streamingContext
StreamingContext

Oggetto StreamingContext contenente l'origine del flusso serializzato associato al nuovo oggetto FileWebRequest.

Attributi

Commenti

Questo costruttore implementa l'interfaccia ISerializable per la FileWebRequest classe .

Si applica a

Vedi anche