IRoleStore<TRole, TKey>.DeleteAsync Method (TRole)


Asynchronously deletes a role.

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


Task DeleteAsync(
    TRole role
Task^ DeleteAsync(
    TRole role
abstract DeleteAsync : 
        role:'TRole -> Task
Function DeleteAsync (
    role As TRole
) As Task


  • role
    Type: TRole

    The role to delete.

Return Value

Type: System.Threading.Tasks.Task

The task representing the asynchronous operation.

See Also

IRoleStore<TRole, TKey> Interface
Microsoft.AspNet.Identity Namespace
ASP.NET Identity

Return to top