Sdílet prostřednictvím


TopicEventSubscriptionsOperationsExtensions.BeginDeleteAsync Method

Definition

Delete an event subscription for a topic.

public static System.Threading.Tasks.Task BeginDeleteAsync (this Microsoft.Azure.Management.EventGrid.ITopicEventSubscriptionsOperations operations, string resourceGroupName, string topicName, string eventSubscriptionName, System.Threading.CancellationToken cancellationToken = default);
static member BeginDeleteAsync : Microsoft.Azure.Management.EventGrid.ITopicEventSubscriptionsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function BeginDeleteAsync (operations As ITopicEventSubscriptionsOperations, resourceGroupName As String, topicName As String, eventSubscriptionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
ITopicEventSubscriptionsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group within the user's subscription.

topicName
String

Name of the topic.

eventSubscriptionName
String

Name of the event subscription to be deleted. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Delete an existing event subscription for a topic.

Applies to