HttpClientHandler.AutomaticDecompression Eigenschaft

Definition

Ruft den Typ der Dekomprimierungsmethode ab, die vom Handler für die automatische Dekomprimierung von Antworten mit HTTP-Inhalt verwendet wird, oder legt den Typ fest.

public:
 property System::Net::DecompressionMethods AutomaticDecompression { System::Net::DecompressionMethods get(); void set(System::Net::DecompressionMethods value); };
public System.Net.DecompressionMethods AutomaticDecompression { get; set; }
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public System.Net.DecompressionMethods AutomaticDecompression { get; set; }
member this.AutomaticDecompression : System.Net.DecompressionMethods with get, set
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
member this.AutomaticDecompression : System.Net.DecompressionMethods with get, set
Public Property AutomaticDecompression As DecompressionMethods

Eigenschaftswert

DecompressionMethods

Die automatische Dekomprimierungsmethode, die der Handler verwendet.

Attribute

Hinweise

Für die .NET Framework 4.x-Binärdatei System.Net.Http im globalen Assemblycache (GAC) lautet Noneder Standardwert .

Wenn das System.Net.Http NuGet-Paket v4.1.0 bis v4.3.2 verwendet wird, ist GZip die Standardeinstellung und Deflate.

Nach dem NuGet-Paket v4.3.2 wird der Standardwert None verwendet.

Gilt für