ProxyInfo.BuildDirectProxy 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
返回
- 属性
注解
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。