AuthenticationFailedException Constructor

Initializes a new instance of the AuthenticationFailedException class with the exception that is the cause of this exception.

Namespace: Microsoft.IdentityServer.Web
Assembly: Microsoft.IdentityServer (in Microsoft.IdentityServer)


Dim innerException As Exception

Dim instance As New AuthenticationFailedException(innerException)


Public Sub New ( _
    innerException As Exception _
public AuthenticationFailedException (
    Exception innerException
AuthenticationFailedException (
    Exception^ innerException
public AuthenticationFailedException (
    Exception innerException
public function AuthenticationFailedException (
    innerException : Exception


  • innerException
    The Exception that is the cause of the current exception. If the innerException parameter is not null, the current exception is raised in a catch block that handles the inner exception.


An exception that is thrown as a direct result of a previous exception should include a reference to the previous exception in the InnerException property. The InnerException property returns the same value that is passed into the constructor.

The following table shows the initial property values for the new instance.

Property Value


The inner exception reference.


A system-supplied message that describes the error, localized for the current system culture


Development Platforms

Windows Server 2008, Windows Server 2008 R2

Target Platforms

Windows Server 2008, Windows Server 2008 R2

See Also


AuthenticationFailedException Class
AuthenticationFailedException Members
Microsoft.IdentityServer.Web Namespace