IdentityResult Class
Represents the result of an identity operation.
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
Inheritance Hierarchy
System.Object
Microsoft.AspNet.Identity.IdentityResult
Syntax
public class IdentityResult
public ref class IdentityResult
type IdentityResult = class end
Public Class IdentityResult
Constructors
Name | Description | |
---|---|---|
IdentityResult(Boolean) | Constructor that takes whether the result is successful |
|
IdentityResult(IEnumerable<String>) | Initializes a new instance of the IdentityResult class with the specified error messages. |
|
IdentityResult(String[]) | Initializes a new instance of the IdentityResult class with the specified error messages. |
Properties
Name | Description | |
---|---|---|
Errors | Gets the list of errors. |
|
Succeeded | Gets a value that indicates whether the operation was successful. |
|
Success | Gets the static success result. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Failed(String[]) | Specifies the failed helper method. |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.AspNet.Identity Namespace
ASP.NET Identity
Return to top