Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Asynchronously sets the user phone number.
Namespace: Microsoft.AspNet.Identity.EntityFramework Assembly: Microsoft.AspNet.Identity.EntityFramework (in Microsoft.AspNet.Identity.EntityFramework.dll)
Syntax
public virtual Task SetPhoneNumberAsync(
TUser user,
string phoneNumber
)
public:
virtual Task^ SetPhoneNumberAsync(
TUser user,
String^ phoneNumber
)
abstract SetPhoneNumberAsync :
user:'TUser *
phoneNumber:string -> Task
override SetPhoneNumberAsync :
user:'TUser *
phoneNumber:string -> Task
Public Overridable Function SetPhoneNumberAsync (
user As TUser,
phoneNumber As String
) As Task
Parameters
user Type: TUser
The user.
phoneNumber Type: System.String
The phone number.
Return Value
Type: System.Threading.Tasks.Task
The task representing the asynchronous operation.
Implements
IUserPhoneNumberStore<TUser, TKey>.SetPhoneNumberAsync(TUser, String)
See Also
UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim> Class Microsoft.AspNet.Identity.EntityFramework Namespace [ASP.NET Identity](https://go.microsoft.com/fwlink/p/?linkid=393664.
Return to top