IRuleOperations.DeleteAsync Method (String, CancellationToken)
Namespace: Microsoft.WindowsAzure.Management.Monitoring.Alerts
Assembly: Microsoft.WindowsAzure.Management.Monitoring (in Microsoft.WindowsAzure.Management.Monitoring.dll)
Syntax
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)
Parameters
ruleId
Type: System.StringThe id of the rule to delete.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<AzureOperationResponse>
A standard service response including an HTTP status code and request ID.
See Also
IRuleOperations Interface
Microsoft.WindowsAzure.Management.Monitoring.Alerts Namespace
Return to top