Constructor InvalidParentException
InvalidParentException()
Constructor for InvalidParentException
Declaration
public InvalidParentException()
InvalidParentException(string)
Initializes a new instance of the Exception class with a specified error message.
Declaration
public InvalidParentException(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | The message that describes the error. |
InvalidParentException(string, Exception)
Initializes a new instance of the Exception class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public InvalidParentException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
string | message | The error message that explains the reason for the exception. |
Exception | innerException | The exception that is the cause of the current exception, or a null reference ( |