Language

RoleStore<TRole, TKey, TUserRole>.DeleteAsync Method (TRole)

 

Asynchronously marks an entity for deletion.

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

Syntax

public virtual Task DeleteAsync(
    TRole role
)
public:
virtual Task^ DeleteAsync(
    TRole role
)
abstract DeleteAsync :
        role:'TRole -> Task
override DeleteAsync :
        role:'TRole -> Task
Public Overridable Function DeleteAsync (
    role As TRole
) As Task

Parameters

  • role Type: TRole

    The role.

Return Value

Type: System.Threading.Tasks.Task

The task representing the asynchronous operation.

Implements

IRoleStore<TRole, TKey>.DeleteAsync(TRole)

See Also

RoleStore<TRole, TKey, TUserRole> Class Microsoft.AspNet.Identity.EntityFramework Namespace [ASP.NET Identity](https://go.microsoft.com/fwlink/p/?linkid=393664.

Return to top