Share via


ChannelsOperationsExtensions.DeleteAsync Method

Definition

Delete a channel.

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

Parameters

operations
IChannelsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group within the partners subscription.

partnerNamespaceName
String

Name of the partner namespace.

channelName
String

Name of the channel.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Delete an existing channel.

Applies to