IdentityResult.Failed Method
Specifies the failed helper method.
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
Syntax
'Declaration
Public Shared Function Failed ( _
ParamArray errors As String() _
) As IdentityResult
'Usage
Dim errors As String()
Dim returnValue As IdentityResult
returnValue = IdentityResult.Failed(errors)
public static IdentityResult Failed(
params string[] errors
)
public:
static IdentityResult^ Failed(
... array<String^>^ errors
)
static member Failed :
errors:string[] -> IdentityResult
public static function Failed(
... errors : String[]
) : IdentityResult
Parameters
- errors
Type: System.String[]
The error messages.
Return Value
Type: Microsoft.AspNet.Identity.IdentityResult
The result of the operation.
See Also
Reference
Microsoft.AspNet.Identity Namespace