NotFoundException.

NotFoundException(string, Exception) Constructor

Summary

Initializes a new instance of the NotFoundException class.

Syntax

public NotFoundException(string message, Exception innerException)

Parameters

Name Type Description
message string The error message that explains the reason for the exception.
innerException Exception The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

Return Value

Type Description
void