Share via


RoleManager<TRole>.UpdateAsync Method

Update an existing role

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

Syntax

'Declaration
Public Overridable Function UpdateAsync ( _
    role As TRole _
) As Task(Of IdentityResult)
'Usage
Dim instance As RoleManager 
Dim role As TRole
Dim returnValue As Task(Of IdentityResult)

returnValue = instance.UpdateAsync(role)
public virtual Task<IdentityResult> UpdateAsync(
    TRole role
)
public:
virtual Task<IdentityResult^>^ UpdateAsync(
    TRole role
)
abstract UpdateAsync : 
        role:'TRole -> Task<IdentityResult> 
override UpdateAsync : 
        role:'TRole -> Task<IdentityResult> 
public function UpdateAsync(
    role : TRole
) : Task<IdentityResult>

Parameters

Return Value

Type: System.Threading.Tasks.Task<IdentityResult>

See Also

Reference

RoleManager<TRole> Class

Microsoft.AspNet.Identity Namespace