Compartir a través de


RoleManager<TRole>.DeleteAsync(TRole) Método

Definición

Elimina el role especificado.

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)

Parámetros

role
TRole

Rol que se debe eliminar.

Devoluciones

Task que representa la operación asincrónica, que contiene para IdentityResult la eliminación.

Se aplica a