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

HTTPConfiguration 构造函数

定义

重载

HTTPConfiguration()

初始化 HTTPConfiguration 类的新实例。

HTTPConfiguration(HTTPMethod, IList<HTTPHeader>, IList<Nullable<Int32>>)

初始化 HTTPConfiguration 类的新实例。

HTTPConfiguration()

初始化 HTTPConfiguration 类的新实例。

public HTTPConfiguration ();
Public Sub New ()

适用于

HTTPConfiguration(HTTPMethod, IList<HTTPHeader>, IList<Nullable<Int32>>)

初始化 HTTPConfiguration 类的新实例。

public HTTPConfiguration (Microsoft.Azure.Management.Network.Fluent.Models.HTTPMethod method = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.HTTPHeader> headers = default, System.Collections.Generic.IList<int?> validStatusCodes = default);
new Microsoft.Azure.Management.Network.Fluent.Models.HTTPConfiguration : Microsoft.Azure.Management.Network.Fluent.Models.HTTPMethod * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.HTTPHeader> * System.Collections.Generic.IList<Nullable<int>> -> Microsoft.Azure.Management.Network.Fluent.Models.HTTPConfiguration
Public Sub New (Optional method As HTTPMethod = Nothing, Optional headers As IList(Of HTTPHeader) = Nothing, Optional validStatusCodes As IList(Of Nullable(Of Integer)) = Nothing)

参数

method
HTTPMethod

HTTP 方法。 可能的值包括:“Get”

headers
IList<HTTPHeader>

HTTP 标头列表。

validStatusCodes
IList<Nullable<Int32>>

有效的状态代码。

适用于