IRuleOperations.GetAsync 方法 (String, CancellationToken)
命名空间: Microsoft.WindowsAzure.Management.Monitoring.Alerts
程序集: Microsoft.WindowsAzure.Management.Monitoring(Microsoft.WindowsAzure.Management.Monitoring.dll 中)
语法
Task<RuleGetResponse> GetAsync(
string ruleId,
CancellationToken cancellationToken
)
Task<RuleGetResponse^>^ GetAsync(
String^ ruleId,
CancellationToken cancellationToken
)
abstract GetAsync :
ruleId:string *
cancellationToken:CancellationToken -> Task<RuleGetResponse>
Function GetAsync (
ruleId As String,
cancellationToken As CancellationToken
) As Task(Of RuleGetResponse)
参数
ruleId
Type: System.String要检索的规则 id。
cancellationToken
Type: System.Threading.CancellationToken取消标记。
返回值
Type: System.Threading.Tasks.Task<RuleGetResponse>
获取规则操作响应。
请参阅
IRuleOperations 接口
Microsoft.WindowsAzure.Management.Monitoring.Alerts 命名空间
返回页首