EventChannelsOperationsExtensions.DeleteAsync Method

Definition

Delete an event channel.

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

Parameters

operations
IEventChannelsOperations

The operations group for this extension method.

resourceGroupName
System.String

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

partnerNamespaceName
System.String

Name of the partner namespace.

eventChannelName
System.String

Name of the event channel.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task

Remarks

Delete existing event channel.

Applies to