Share via


IUserEmailStore<TUser, TKey>.SetEmailAsync Method

Asynchronously sets the user email.

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

Syntax

Task SetEmailAsync(
    TUser user,
    string email
)

Parameters

  • user
    Type: TUser
    The user associated with the method.

Return Value

Type: System.Threading.Tasks.Task
The task object representing the asynchronous operation.

See Also

Reference

IUserEmailStore<TUser, TKey> Interface

Microsoft.AspNet.Identity Namespace

Other Resources

ASP.NET Identity