Share via


UserStore<TUser>.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 ( _
    user As TUser _
) As Task
'Usage
Dim instance As UserStore 
Dim user As TUser
Dim returnValue As Task 

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

Parameters

Return Value

Type: System.Threading.Tasks.Task

Implements

IUserStore<TUser>.DeleteAsync(TUser)

See Also

Reference

UserStore<TUser> Class

Microsoft.AspNet.Identity.EntityFramework Namespace