IRuleOperations.DeleteAsync 方法 (String, CancellationToken)
命名空间: Microsoft.WindowsAzure.Management.Monitoring.Alerts
程序集: Microsoft.WindowsAzure.Management.Monitoring(Microsoft.WindowsAzure.Management.Monitoring.dll 中)
语法
Task<AzureOperationResponse> DeleteAsync(
string ruleId,
CancellationToken cancellationToken
)
Task<AzureOperationResponse^>^ DeleteAsync(
String^ ruleId,
CancellationToken cancellationToken
)
abstract DeleteAsync :
ruleId:string *
cancellationToken:CancellationToken -> Task<AzureOperationResponse>
Function DeleteAsync (
ruleId As String,
cancellationToken As CancellationToken
) As Task(Of AzureOperationResponse)
参数
ruleId
Type: System.String要删除的规则的 id。
cancellationToken
Type: System.Threading.CancellationToken取消标记。
返回值
Type: System.Threading.Tasks.Task<AzureOperationResponse>
标准服务响应,包括 HTTP 状态代码和请求 ID。
请参阅
IRuleOperations 接口
Microsoft.WindowsAzure.Management.Monitoring.Alerts 命名空间
返回页首