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)
Usage
'Usage
Dim innerException As Exception
Dim instance As New AuthenticationFailedException(innerException)
Syntax
'Declaration
Public Sub New ( _
innerException As Exception _
)
public AuthenticationFailedException (
Exception innerException
)
public:
AuthenticationFailedException (
Exception^ innerException
)
public AuthenticationFailedException (
Exception innerException
)
public function AuthenticationFailedException (
innerException : Exception
)
Parameters
- 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.
Remarks
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 |
---|---|
InnerException |
The inner exception reference. |
A system-supplied message that describes the error, localized for the current system culture |
Platforms
Development Platforms
Windows Server 2008, Windows Server 2008 R2
Target Platforms
Windows Server 2008, Windows Server 2008 R2
See Also
Reference
AuthenticationFailedException Class
AuthenticationFailedException Members
Microsoft.IdentityServer.Web Namespace