你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ExplicitProxy 构造函数

定义

重载

ExplicitProxy()

初始化 ExplicitProxy 类的新实例。

ExplicitProxy(Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<Int32>, String)

初始化 ExplicitProxy 类的新实例。

ExplicitProxy()

初始化 ExplicitProxy 类的新实例。

public ExplicitProxy();
Public Sub New ()

适用于

ExplicitProxy(Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<Int32>, String)

初始化 ExplicitProxy 类的新实例。

public ExplicitProxy(bool? enableExplicitProxy = default, int? httpPort = default, int? httpsPort = default, bool? enablePacFile = default, int? pacFilePort = default, string pacFile = default);
new Microsoft.Azure.Management.Network.Models.ExplicitProxy : Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<bool> * Nullable<int> * string -> Microsoft.Azure.Management.Network.Models.ExplicitProxy
Public Sub New (Optional enableExplicitProxy As Nullable(Of Boolean) = Nothing, Optional httpPort As Nullable(Of Integer) = Nothing, Optional httpsPort As Nullable(Of Integer) = Nothing, Optional enablePacFile As Nullable(Of Boolean) = Nothing, Optional pacFilePort As Nullable(Of Integer) = Nothing, Optional pacFile As String = Nothing)

参数

enableExplicitProxy
Nullable<Boolean>

设置为 true 时,将启用显式代理模式。

httpPort
Nullable<Int32>

显式代理 http 协议的端口号不能大于 64000。

httpsPort
Nullable<Int32>

显式代理 https 协议的端口号不能大于 64000。

enablePacFile
Nullable<Boolean>

设置为 true 时,需要提供 pac 文件端口和 URL。

pacFilePort
Nullable<Int32>

防火墙为 PAC 文件提供服务的端口号。

pacFile
String

PAC 文件的 SAS URL。

适用于