IIdentityValidator<T>.ValidateAsync Method

Asynchronously validates the item.

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

Syntax

'Declaration
Function ValidateAsync ( _
    item As T _
) As Task(Of IdentityResult)
'Usage
Dim instance As IIdentityValidator 
Dim item As T
Dim returnValue As Task(Of IdentityResult)

returnValue = instance.ValidateAsync(item)
Task<IdentityResult> ValidateAsync(
    T item
)
Task<IdentityResult^>^ ValidateAsync(
    T item
)
abstract ValidateAsync : 
        item:'T -> Task<IdentityResult> 
function ValidateAsync(
    item : T
) : Task<IdentityResult>

Parameters

  • item
    Type: T
    The item to validate.

Return Value

Type: System.Threading.Tasks.Task<IdentityResult>
The task that completes the validation.

See Also

Reference

IIdentityValidator<T> Interface

Microsoft.AspNet.Identity Namespace

Other Resources

ASP.NET Identity