UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim>.CreateAsync Method (TUser)
Asynchronously inserts an entity.
Namespace: Microsoft.AspNet.Identity.EntityFramework
Assembly: Microsoft.AspNet.Identity.EntityFramework (in Microsoft.AspNet.Identity.EntityFramework.dll)
Syntax
public virtual Task CreateAsync(
TUser user
)
public:
virtual Task^ CreateAsync(
TUser user
)
abstract CreateAsync :
user:'TUser -> Task
override CreateAsync :
user:'TUser -> Task
Public Overridable Function CreateAsync (
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>.CreateAsync(TUser)
See Also
UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim> Class
Microsoft.AspNet.Identity.EntityFramework Namespace
ASP.NET Identity
Return to top