AuthenticationFailedException Constructor

Initializes a new instance of the AuthenticationFailedException class with a specified error message.

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

Usage

'Usage
Dim message As String

Dim instance As New AuthenticationFailedException(message)

Syntax

'Declaration
Public Sub New ( _
    message As String _
)
public AuthenticationFailedException (
    string message
)
public:
AuthenticationFailedException (
    String^ message
)
public AuthenticationFailedException (
    String message
)
public function AuthenticationFailedException (
    message : String
)

Parameters

  • message
    The error message that explains the reason for the exception.

Remarks

This constructor initializes the Message property of the new exception using the message parameter. The content of message is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.

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

Property Value

InnerException

null.

Message

The error message string.

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