Share via


TopicsOperationsExtensions.DeleteAsync Method

Definition

Delete a topic.

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

Parameters

operations
ITopicsOperations

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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Delete existing topic.

Applies to