Share via


IUserEmailStore<TUser, TKey>.SetEmailAsync Method (TUser, String)

 

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
)
Task^ SetEmailAsync(
    TUser user,
    String^ email
)
abstract SetEmailAsync : 
        user:'TUser *
        email:string -> Task
Function SetEmailAsync (
    user As TUser,
    email As String
) As Task

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

IUserEmailStore<TUser, TKey> Interface
Microsoft.AspNet.Identity Namespace
ASP.NET Identity

Return to top