ProxyInfo.BuildDirectProxy 方法

定义

重载

BuildDirectProxy(String, Int32)

构造一个 ProxyInfo 对象,该对象指向指定主机和端口上的 Direct 代理。

BuildDirectProxy(String, Int32, IList<String>)

BuildDirectProxy(String, Int32)

构造一个 ProxyInfo 对象,该对象指向指定主机和端口上的 Direct 代理。

[Android.Runtime.Register("buildDirectProxy", "(Ljava/lang/String;I)Landroid/net/ProxyInfo;", "")]
public static Android.Net.ProxyInfo? BuildDirectProxy (string? host, int port);
[<Android.Runtime.Register("buildDirectProxy", "(Ljava/lang/String;I)Landroid/net/ProxyInfo;", "")>]
static member BuildDirectProxy : string * int -> Android.Net.ProxyInfo

参数

host
String
port
Int32

返回

属性

注解

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于

BuildDirectProxy(String, Int32, IList<String>)

[Android.Runtime.Register("buildDirectProxy", "(Ljava/lang/String;ILjava/util/List;)Landroid/net/ProxyInfo;", "")]
public static Android.Net.ProxyInfo? BuildDirectProxy (string? host, int port, System.Collections.Generic.IList<string>? exclList);
[<Android.Runtime.Register("buildDirectProxy", "(Ljava/lang/String;ILjava/util/List;)Landroid/net/ProxyInfo;", "")>]
static member BuildDirectProxy : string * int * System.Collections.Generic.IList<string> -> Android.Net.ProxyInfo

参数

host
String
port
Int32
exclList
IList<String>

返回

属性

注解

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于