IUserPhoneNumberStore<TUser, TKey>.GetPhoneNumberAsync Method (TUser)

 

Asynchronously gets the user phone number.

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

Syntax

Task<string> GetPhoneNumberAsync(
    TUser user
)
Task<String^>^ GetPhoneNumberAsync(
    TUser user
)
abstract GetPhoneNumberAsync : 
        user:'TUser -> Task<string>
Function GetPhoneNumberAsync (
    user As TUser
) As Task(Of String)

Parameters

  • user
    Type: TUser

    The user.

Return Value

Type: System.Threading.Tasks.Task<String>

The task object representing the asynchronous operation.

See Also

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

Return to top