Language

RoleStore<TRole, TKey, TUserRole>.UpdateAsync Method (TRole)

 

Asynchronously updates an entity.

Namespace:   Microsoft.AspNet.Identity.EntityFramework Assembly:  Microsoft.AspNet.Identity.EntityFramework (in Microsoft.AspNet.Identity.EntityFramework.dll)

Syntax

public virtual Task UpdateAsync(
    TRole role
)
public:
virtual Task^ UpdateAsync(
    TRole role
)
abstract UpdateAsync :
        role:'TRole -> Task
override UpdateAsync :
        role:'TRole -> Task
Public Overridable Function UpdateAsync (
    role As TRole
) As Task

Parameters

  • role Type: TRole

    The role.

Return Value

Type: System.Threading.Tasks.Task

The task representing the asynchronous operation.

Implements

IRoleStore<TRole, TKey>.UpdateAsync(TRole)

See Also

RoleStore<TRole, TKey, TUserRole> Class Microsoft.AspNet.Identity.EntityFramework Namespace [ASP.NET Identity](https://go.microsoft.com/fwlink/p/?linkid=393664.

Return to top