Share via


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
System_CAPS_protmethod IdentityResult(Boolean)

Constructor that takes whether the result is successful

System_CAPS_pubmethod IdentityResult(IEnumerable<String>)

Initializes a new instance of the IdentityResult class with the specified error messages.

System_CAPS_pubmethod IdentityResult(String[])

Initializes a new instance of the IdentityResult class with the specified error messages.

Properties

Name Description
System_CAPS_pubproperty Errors

Gets the list of errors.

System_CAPS_pubproperty Succeeded

Gets a value that indicates whether the operation was successful.

System_CAPS_pubpropertySystem_CAPS_static Success

Gets the static success result.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_static Failed(String[])

Specifies the failed helper method.

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod 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