IUserEmailStore<TUser, TKey>.GetEmailAsync Method

Asynchronously gets the user e-mail.

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

Syntax

'Declaration
Function GetEmailAsync ( _
    user As TUser _
) As Task(Of String)
'Usage
Dim instance As IUserEmailStore 
Dim user As TUser
Dim returnValue As Task(Of String)

returnValue = instance.GetEmailAsync(user)
Task<string> GetEmailAsync(
    TUser user
)
Task<String^>^ GetEmailAsync(
    TUser user
)
abstract GetEmailAsync : 
        user:'TUser -> Task<string> 
function GetEmailAsync(
    user : TUser
) : Task<String>

Parameters

  • user
    Type: TUser
    The user where the e-mail will be retrieved.

Return Value

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

See Also

Reference

IUserEmailStore<TUser, TKey> Interface

Microsoft.AspNet.Identity Namespace

Other Resources

ASP.NET Identity