Share via


ManagementClient.GetNamespaceInfoAsync(CancellationToken) Method

Definition

Gets information related to the currently used namespace.

public virtual System.Threading.Tasks.Task<Microsoft.Azure.ServiceBus.Management.NamespaceInfo> GetNamespaceInfoAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetNamespaceInfoAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.ServiceBus.Management.NamespaceInfo>
override this.GetNamespaceInfoAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.ServiceBus.Management.NamespaceInfo>
Public Overridable Function GetNamespaceInfoAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of NamespaceInfo)

Parameters

cancellationToken
CancellationToken

Returns

NamespaceInfo containing namespace information.

Remarks

Works with any claim (Send/Listen/Manage).

Applies to