Share via


IUserPhoneNumberStore<TUser, TKey>.SetPhoneNumberAsync Method (TUser, String)

 

Asynchronously sets the phone number associated with the user.

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

Syntax

Task SetPhoneNumberAsync(
    TUser user,
    string phoneNumber
)
Task^ SetPhoneNumberAsync(
    TUser user,
    String^ phoneNumber
)
abstract SetPhoneNumberAsync : 
        user:'TUser *
        phoneNumber:string -> Task
Function SetPhoneNumberAsync (
    user As TUser,
    phoneNumber As String
) As Task

Parameters

  • user
    Type: TUser

    The user.

Return Value

Type: System.Threading.Tasks.Task

The task object representing the asynchronous operation.

See Also

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

Return to top