WinHttpHandler.WindowsProxyUsePolicy 屬性

定義

取得或設定 Proxy 設定。 這個屬性可以設定為停用 Proxy、使用自訂 Proxy,或是使用電腦上 WinHTTP 或 WinInet 的 Proxy 設定。

public:
 property System::Net::Http::WindowsProxyUsePolicy WindowsProxyUsePolicy { System::Net::Http::WindowsProxyUsePolicy get(); void set(System::Net::Http::WindowsProxyUsePolicy value); };
public System.Net.Http.WindowsProxyUsePolicy WindowsProxyUsePolicy { get; set; }
member this.WindowsProxyUsePolicy : System.Net.Http.WindowsProxyUsePolicy with get, set
Public Property WindowsProxyUsePolicy As WindowsProxyUsePolicy

屬性值

備註

此屬性的預設值為 WinHTTP 堆疊 Proxy 設定。

適用於