MetricsClient 构造函数 (SubscriptionCloudCredentials, HttpClient)
Initializes a new instance of the MetricsClient class.
命名空间: Microsoft.WindowsAzure.Management.Monitoring.Metrics
程序集: Microsoft.WindowsAzure.Management.Monitoring(在 Microsoft.WindowsAzure.Management.Monitoring.dll 中)
使用
用法
Dim credentials As SubscriptionCloudCredentials
Dim httpClient As HttpClient
Dim instance As New MetricsClient(credentials, httpClient)
语法
声明
Public Sub New ( _
credentials As SubscriptionCloudCredentials, _
httpClient As HttpClient _
)
public MetricsClient (
SubscriptionCloudCredentials credentials,
HttpClient httpClient
)
public:
MetricsClient (
SubscriptionCloudCredentials^ credentials,
HttpClient^ httpClient
)
public MetricsClient (
SubscriptionCloudCredentials credentials,
HttpClient httpClient
)
public function MetricsClient (
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
目标平台
另请参阅
参考
MetricsClient 类
MetricsClient 成员
Microsoft.WindowsAzure.Management.Monitoring.Metrics 命名空间