IUserEmailStore<TUser, TKey>.SetEmailAsync Method
Asynchronously sets the user email.
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
Syntax
'Declaration
Function SetEmailAsync ( _
user As TUser, _
email As String _
) As Task
'Usage
Dim instance As IUserEmailStore
Dim user As TUser
Dim email As String
Dim returnValue As Task
returnValue = instance.SetEmailAsync(user, _
email)
Task SetEmailAsync(
TUser user,
string email
)
Task^ SetEmailAsync(
TUser user,
String^ email
)
abstract SetEmailAsync :
user:'TUser *
email:string -> Task
function SetEmailAsync(
user : TUser,
email : String
) : Task
Parameters
- user
Type: TUser
The user associated with the method.
- email
Type: System.String
The e-mail to send.
Return Value
Type: System.Threading.Tasks.Task
The task object representing the asynchronous operation.
See Also
Reference
IUserEmailStore<TUser, TKey> Interface
Microsoft.AspNet.Identity Namespace