AssertionFailedException()
Initializes a new AssertionFailedException with the default error message.
Declaration
public AssertionFailedException()AssertionFailedException(string)
Initializes a new AssertionFailedException and specifies the error message.
Declaration
public AssertionFailedException(string message)Parameters
| Type | Name | Description |
|---|---|---|
| string | message |
AssertionFailedException(string, Exception)
Initializes a new AssertionFailedException and specifies the error message and the inner Exception.
Declaration
public AssertionFailedException(string message, Exception inner)Parameters
| Type | Name | Description |
|---|---|---|
| string | message | |
| Exception | inner |