IdentityResult.Failed Method (String[])
Specifies the failed helper method.
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
Syntax
public static IdentityResult Failed(
params string[] errors
)
public:
static IdentityResult^ Failed(
... array<String^>^ errors
)
static member Failed :
[<ParamArrayAttribute>] errors:string[] -> IdentityResult
Public Shared Function Failed (
ParamArray errors As String()
) As IdentityResult
Parameters
errors
Type: System.String[]The error messages.
Return Value
Type: Microsoft.AspNet.Identity.IdentityResult
The result of the operation.
See Also
IdentityResult Class
Microsoft.AspNet.Identity Namespace
ASP.NET Identity
Return to top