Share via


IRoleStore<TRole, TKey>.DeleteAsync Method

Asynchronously deletes a role.

Namespace:  Microsoft.AspNet.Identity
Assembly:  Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)

Syntax

Task DeleteAsync(
    TRole role
)

Parameters

  • role
    Type: TRole
    The role to delete.

Return Value

Type: System.Threading.Tasks.Task
The task representing the asynchronous operation.

See Also

Reference

IRoleStore<TRole, TKey> Interface

Microsoft.AspNet.Identity Namespace

Other Resources

ASP.NET Identity