UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim>.DeleteAsync Method (TUser)
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(
TUser user
)
public:
virtual Task^ DeleteAsync(
TUser user
)
abstract DeleteAsync :
user:'TUser -> Task
override DeleteAsync :
user:'TUser -> Task
Public Overridable Function DeleteAsync (
user As TUser
) As Task
Parameters
user
Type: TUserThe user.
Return Value
Type: System.Threading.Tasks.Task
The task representing the asynchronous operation.
Implements
IUserStore<TUser, TKey>.DeleteAsync(TUser)
See Also
UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim> Class
Microsoft.AspNet.Identity.EntityFramework Namespace
ASP.NET Identity
Return to top