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
- role
Type: TRole
Return Value
Type: System.Threading.Tasks.Task<IdentityResult>