Condividi tramite


RoleManager<TRole>.DeleteAsync(TRole) Metodo

Definizione

Elimina l'oggetto role specificato.

public:
 virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Identity::IdentityResult ^> ^ DeleteAsync(TRole role);
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult> DeleteAsync (TRole role);
abstract member DeleteAsync : 'Role -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult>
override this.DeleteAsync : 'Role -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult>
Public Overridable Function DeleteAsync (role As TRole) As Task(Of IdentityResult)

Parametri

role
TRole

Ruolo da eliminare.

Restituisce

Oggetto Task che rappresenta l'operazione asincrona contenente per IdentityResult l'eliminazione.

Si applica a