IUserEmailStore<TUser>.SetEmailAsync Metodo

Definizione

Imposta l'indirizzo email per un useroggetto .

public:
 System::Threading::Tasks::Task ^ SetEmailAsync(TUser user, System::String ^ email, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task SetEmailAsync (TUser user, string email, System.Threading.CancellationToken cancellationToken);
public System.Threading.Tasks.Task SetEmailAsync (TUser user, string? email, System.Threading.CancellationToken cancellationToken);
abstract member SetEmailAsync : 'User * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function SetEmailAsync (user As TUser, email As String, cancellationToken As CancellationToken) As Task

Parametri

user
TUser

Utente il cui messaggio di posta elettronica deve essere impostato.

email
String

Messaggio di posta elettronica da impostare.

cancellationToken
CancellationToken

Oggetto CancellationToken usato per propagare le notifiche di richiesta di annullamento dell'operazione.

Restituisce

Oggetto dell'attività che rappresenta l'operazione asincrona.

Si applica a