AlertsClient 构造函数 (SubscriptionCloudCredentials, HttpClient)

Initializes a new instance of the AlertsClient class.

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

使用

用法
Dim credentials As SubscriptionCloudCredentials
Dim httpClient As HttpClient

Dim instance As New AlertsClient(credentials, httpClient)

语法

声明
Public Sub New ( _
    credentials As SubscriptionCloudCredentials, _
    httpClient As HttpClient _
)
public AlertsClient (
    SubscriptionCloudCredentials credentials,
    HttpClient httpClient
)
public:
AlertsClient (
    SubscriptionCloudCredentials^ credentials, 
    HttpClient^ httpClient
)
public AlertsClient (
    SubscriptionCloudCredentials credentials, 
    HttpClient httpClient
)
public function AlertsClient (
    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

目标平台

另请参阅

参考

AlertsClient 类
AlertsClient 成员
Microsoft.WindowsAzure.Management.Monitoring.Alerts 命名空间