ProxyConfiguration.ProxyUris 屬性

定義

從 Proxy 組態取得 Proxy 的 URI 清單。

注意

Windows Phone不支援這個類別屬性。

public:
 property IVectorView<Uri ^> ^ ProxyUris { IVectorView<Uri ^> ^ get(); };
IVectorView<Uri> ProxyUris();
public IReadOnlyList<System.Uri> ProxyUris { get; }
var iVectorView = proxyConfiguration.proxyUris;
Public ReadOnly Property ProxyUris As IReadOnlyList(Of Uri)

屬性值

Proxy 組態的 URI 清單。

備註

網頁瀏覽器和其他應用程式會使用 Web Proxy 自動探索通訊協定 (WPAD) 來尋找 Proxy 組態檔。 此 Proxy 自動設定 (PAC) 檔案會定義應該用來擷取特定 URI 的 Proxy 伺服器,或是否要略過特定 URI 的 Proxy。 PAC 允許針對不同的 URI 定義不同的 Proxy。

ProxyUris 屬性包含應用程式應該直接連線並略過 Proxy 的 URI 清單。

在 UWP app 中, StreamSocket 類別支援在需要 Proxy 才能完成連線時連線到遠端端點。 此 Proxy 支援對應用程式而言是自動且透明的。 如需詳細資訊,請參閱StreamSocket類別參考中支援 Proxy的備註。

適用於