IUserStore<TUser>.SetNormalizedUserNameAsync Metoda

Definicja

Ustawia podaną znormalizowaną nazwę dla określonego userelementu .

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

Parametry

user
TUser

Użytkownik, którego nazwa powinna być ustawiona.

normalizedName
String

Znormalizowana nazwa do ustawienia.

cancellationToken
CancellationToken

Używane CancellationToken do propagowania powiadomień, które należy anulować operacji.

Zwraca

Element Task reprezentujący operację asynchroniczną.

Dotyczy