Share via


HttpClientHandler.UseProxy Propriété

Définition

Obtient ou définit une valeur qui indique si le gestionnaire utilise un proxy pour les requêtes.

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

Valeur de propriété

true si le gestionnaire doit utiliser un proxy pour les requêtes ; sinon, false. La valeur par défaut est true.

Attributs

S’applique à