RoleManager<TRole>.GetRoleNameAsync(TRole) Méthode

Définition

Obtient le nom du spécifié role.

public:
 virtual System::Threading::Tasks::Task<System::String ^> ^ GetRoleNameAsync(TRole role);
public virtual System.Threading.Tasks.Task<string> GetRoleNameAsync (TRole role);
public virtual System.Threading.Tasks.Task<string?> GetRoleNameAsync (TRole role);
abstract member GetRoleNameAsync : 'Role -> System.Threading.Tasks.Task<string>
override this.GetRoleNameAsync : 'Role -> System.Threading.Tasks.Task<string>
Public Overridable Function GetRoleNameAsync (role As TRole) As Task(Of String)

Paramètres

role
TRole

Rôle dont le nom doit être récupéré.

Retours

Task qui représente l’opération asynchrone, contenant le nom du spécifiérole.

S’applique à