UserNotFoundException(String, String, System.Exception) Constructor

The UserNotFoundException constructor initializes a new instance of the UserNotFoundException class with the specified error message, the user name of the user who is not found, and a reference to the inner exception that is the cause of this exception.

Parameters

message   An error message that explains the reason for the exception, or an empty string.

username   A string representing the user name of the user who is not found.

inner   The exception that is the cause of this exception.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security