Share via


IEventHubs.DeleteByNameAsync Method

Definition

Deletes an event hub in a namespace under a resource group.

public System.Threading.Tasks.Task DeleteByNameAsync (string resourceGroupName, string namespaceName, string name, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteByNameAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteByNameAsync (resourceGroupName As String, namespaceName As String, name As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

resourceGroupName
String

Resource group name.

namespaceName
String

Namespace name.

name
String

Event hub name.

cancellationToken
CancellationToken

Returns

Applies to