IdentityResult Class

Represents the result of an identity operation

Inheritance Hierarchy

System.Object
  Microsoft.AspNet.Identity.IdentityResult

Namespace:  Microsoft.AspNet.Identity
Assembly:  Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)

Syntax

'Declaration
Public Class IdentityResult
'Usage
Dim instance As IdentityResult
public class IdentityResult
public ref class IdentityResult
type IdentityResult =  class end
public class IdentityResult

The IdentityResult type exposes the following members.

Constructors

  Name Description
Public method IdentityResult(IEnumerable<String>) Failure constructor that takes error messages
Public method IdentityResult(array<String[]) Failure constructor that takes error messages

Top

Properties

  Name Description
Public property Errors List of errors
Public property Succeeded True if the operation was successful
Public propertyStatic member Success True if the operation was successful

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public methodStatic member Failed Failed helper method
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

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

Reference

Microsoft.AspNet.Identity Namespace