UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim>.SetEmailAsync Method (TUser, String)
Asynchronously sets the user e-mail.
Namespace: Microsoft.AspNet.Identity.EntityFramework
Assembly: Microsoft.AspNet.Identity.EntityFramework (in Microsoft.AspNet.Identity.EntityFramework.dll)
Syntax
public virtual Task SetEmailAsync(
TUser user,
string email
)
public:
virtual Task^ SetEmailAsync(
TUser user,
String^ email
)
abstract SetEmailAsync :
user:'TUser *
email:string -> Task
override SetEmailAsync :
user:'TUser *
email:string -> Task
Public Overridable Function SetEmailAsync (
user As TUser,
email As String
) As Task
Parameters
user
Type: TUserThe user.
email
Type: System.StringThe e-mail of the user.
Return Value
Type: System.Threading.Tasks.Task
The task representing the asynchronous operation.
Implements
IUserEmailStore<TUser, TKey>.SetEmailAsync(TUser, String)
See Also
UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim> Class
Microsoft.AspNet.Identity.EntityFramework Namespace
ASP.NET Identity
Return to top