ProvidersOperationsExtensions.UnregisterAsync(IProvidersOperations, String, CancellationToken) Method

Definition

Unregisters a subscription from a resource provider.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.Provider> UnregisterAsync (this Microsoft.Azure.Management.ResourceManager.IProvidersOperations operations, string resourceProviderNamespace, System.Threading.CancellationToken cancellationToken = default);
static member UnregisterAsync : Microsoft.Azure.Management.ResourceManager.IProvidersOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.Provider>
<Extension()>
Public Function UnregisterAsync (operations As IProvidersOperations, resourceProviderNamespace As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Provider)

Parameters

operations
IProvidersOperations

The operations group for this extension method.

resourceProviderNamespace
System.String

The namespace of the resource provider to unregister.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<Provider>

Applies to