HttpClientHandler.UseProxy 屬性

定義

取得或設定值,指出處理常式是否針對要求使用 Proxy。

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

屬性值

如果處理常式應該針對要求使用 Proxy,則為 true,否則為 false。 預設值是 true

屬性

適用於