IIncidentOperations.ListForRuleAsync 方法 (String, Boolean, CancellationToken)

 

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

语法

Task<IncidentListResponse> ListForRuleAsync(
    string ruleId,
    bool isActive,
    CancellationToken cancellationToken
)
Task<IncidentListResponse^>^ ListForRuleAsync(
    String^ ruleId,
    bool isActive,
    CancellationToken cancellationToken
)
abstract ListForRuleAsync : 
        ruleId:string *
        isActive:bool *
        cancellationToken:CancellationToken -> Task<IncidentListResponse>
Function ListForRuleAsync (
    ruleId As String,
    isActive As Boolean,
    cancellationToken As CancellationToken
) As Task(Of IncidentListResponse)

参数

  • isActive
    Type: System.Boolean

    若要仅活动或已解决事件中检索一个布尔值。

返回值

Type: System.Threading.Tasks.Task<IncidentListResponse>

列表事件操作响应。

请参阅

IIncidentOperations 接口
Microsoft.WindowsAzure.Management.Monitoring.Alerts 命名空间

返回页首