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

IRuleOperations.GetAsync(String, CancellationToken) 方法

定义

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.RuleGetResponse> GetAsync (string ruleId, System.Threading.CancellationToken cancellationToken);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.RuleGetResponse>
Public Function GetAsync (ruleId As String, cancellationToken As CancellationToken) As Task(Of RuleGetResponse)

参数

ruleId
String

要检索的规则的 ID。

cancellationToken
CancellationToken

取消标记。

返回

获取规则操作响应。

适用于