NetworkManagementClient 构造函数 (SubscriptionCloudCredentials, HttpClient)

Initializes a new instance of the NetworkManagementClient class.

命名空间: Microsoft.WindowsAzure.Management.Network
程序集: Microsoft.WindowsAzure.Management.Network(在 Microsoft.WindowsAzure.Management.Network.dll 中)

使用

用法
Dim credentials As SubscriptionCloudCredentials
Dim httpClient As HttpClient

Dim instance As New NetworkManagementClient(credentials, httpClient)

语法

声明
Public Sub New ( _
    credentials As SubscriptionCloudCredentials, _
    httpClient As HttpClient _
)
public NetworkManagementClient (
    SubscriptionCloudCredentials credentials,
    HttpClient httpClient
)
public:
NetworkManagementClient (
    SubscriptionCloudCredentials^ credentials, 
    HttpClient^ httpClient
)
public NetworkManagementClient (
    SubscriptionCloudCredentials credentials, 
    HttpClient httpClient
)
public function NetworkManagementClient (
    credentials : SubscriptionCloudCredentials, 
    httpClient : HttpClient
)

参数

  • credentials
    Required. Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
  • httpClient
    The Http client

备注

平台

开发平台

Windows Vista、Windows 7 和 Windows Server 2008

目标平台

另请参阅

参考

NetworkManagementClient 类
NetworkManagementClient 成员
Microsoft.WindowsAzure.Management.Network 命名空间