AuthenticationException Constructor (String)


Initializes a new instance of the AuthenticationException class with the specified message.

Namespace:   System.Security.Authentication
Assembly:  System (in System.dll)

public AuthenticationException(
	string message


Type: System.String

A String that describes the authentication failure.

This constructor initializes the Message property with the text in the message parameter. The InnerException property is set to null.

.NET Framework
Available since 2.0
Return to top