IUserStore<TUser>.SetNormalizedUserNameAsync Metodo

Definizione

Imposta il nome normalizzato specificato per l'oggetto specificato user.

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

Parametri

user
TUser

Utente il cui nome deve essere impostato.

normalizedName
String

Nome normalizzato da impostare.

cancellationToken
CancellationToken

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

Restituisce

Oggetto Task che rappresenta l'operazione asincrona.

Si applica a