Share via


RoleStore<TRole>.DeleteAsync Method

Mark an entity for deletion

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

Syntax

'Declaration
Public Overridable Function DeleteAsync ( _
    role As TRole _
) As Task
'Usage
Dim instance As RoleStore 
Dim role As TRole
Dim returnValue As Task 

returnValue = instance.DeleteAsync(role)
public virtual Task DeleteAsync(
    TRole role
)
public:
virtual Task^ DeleteAsync(
    TRole role
)
abstract DeleteAsync : 
        role:'TRole -> Task  
override DeleteAsync : 
        role:'TRole -> Task
public function DeleteAsync(
    role : TRole
) : Task

Parameters

Return Value

Type: System.Threading.Tasks.Task

Implements

IRoleStore<TRole>.DeleteAsync(TRole)

See Also

Reference

RoleStore<TRole> Class

Microsoft.AspNet.Identity.EntityFramework Namespace