IIdentityValidator<T>.ValidateAsync Method
Validate 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
Return Value
Type: System.Threading.Tasks.Task<IdentityResult>