Share via


IRoleStore<TRole>.SetNormalizedRoleNameAsync Methode

Definition

Legen Sie den normalisierten Namen einer Rolle als asynchronen Vorgang fest.

public:
 System::Threading::Tasks::Task ^ SetNormalizedRoleNameAsync(TRole role, System::String ^ normalizedName, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task SetNormalizedRoleNameAsync (TRole role, string normalizedName, System.Threading.CancellationToken cancellationToken);
public System.Threading.Tasks.Task SetNormalizedRoleNameAsync (TRole role, string? normalizedName, System.Threading.CancellationToken cancellationToken);
abstract member SetNormalizedRoleNameAsync : 'Role * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function SetNormalizedRoleNameAsync (role As TRole, normalizedName As String, cancellationToken As CancellationToken) As Task

Parameter

role
TRole

Die Rolle, deren normalisierter Name festgelegt werden soll.

normalizedName
String

Der festzulegende normalisierte Name

cancellationToken
CancellationToken

Die CancellationToken-Struktur, mit der Benachrichtigungen verteilt werden, dass der Vorgang abgebrochen werden muss.

Gibt zurück

Die Task-Klasse, die den asynchronen Vorgang darstellt.

Gilt für: