Partager via


FileWebResponse(SerializationInfo, StreamingContext) Constructeur

Définition

Attention

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

Attention

Serialization has been deprecated for FileWebResponse.

Attention

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

Initialise une nouvelle instance de la classe FileWebResponse à partir des instances spécifiées des classes SerializationInfo et 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)

Paramètres

serializationInfo
SerializationInfo

Instance d'SerializationInfo qui contient les informations requises pour sérialiser la nouvelle instance FileWebResponse.

streamingContext
StreamingContext

Instance de la classe StreamingContext qui contient la source du flux sérialisé associé à la nouvelle instance FileWebResponse.

Attributs

Remarques

Ce constructeur implémente l’interface ISerializable pour la FileWebResponse classe .

S’applique à

Voir aussi