共用方式為


IRuleOperations.DeleteAsync(String, CancellationToken) Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> DeleteAsync (string ruleId, System.Threading.CancellationToken cancellationToken);
abstract member DeleteAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function DeleteAsync (ruleId As String, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)

Parameters

ruleId
String

The id of the rule to delete.

cancellationToken
CancellationToken

Cancellation token.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

A standard service response including an HTTP status code and request ID.

Applies to