Udostępnij za pośrednictwem


ProxyInfo.BuildPacProxy Method

Definition

Overloads

BuildPacProxy(Uri)

Construct a ProxyInfo that will download and run the PAC script at the specified URL.

BuildPacProxy(Uri, Int32)

BuildPacProxy(Uri)

Construct a ProxyInfo that will download and run the PAC script at the specified URL.

[Android.Runtime.Register("buildPacProxy", "(Landroid/net/Uri;)Landroid/net/ProxyInfo;", "")]
public static Android.Net.ProxyInfo? BuildPacProxy (Android.Net.Uri? pacUri);
[<Android.Runtime.Register("buildPacProxy", "(Landroid/net/Uri;)Landroid/net/ProxyInfo;", "")>]
static member BuildPacProxy : Android.Net.Uri -> Android.Net.ProxyInfo

Parameters

pacUri
Uri

Returns

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

BuildPacProxy(Uri, Int32)

[Android.Runtime.Register("buildPacProxy", "(Landroid/net/Uri;I)Landroid/net/ProxyInfo;", "", ApiSince=30)]
public static Android.Net.ProxyInfo BuildPacProxy (Android.Net.Uri pacUrl, int port);
[<Android.Runtime.Register("buildPacProxy", "(Landroid/net/Uri;I)Landroid/net/ProxyInfo;", "", ApiSince=30)>]
static member BuildPacProxy : Android.Net.Uri * int -> Android.Net.ProxyInfo

Parameters

pacUrl
Uri
port
Int32

Returns

Attributes

Applies to