PostSharp 6.8 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns Namespace / Assertion­Failed­Exception Class / Assertion­Failed­Exception Constructor

AssertionFailedException Constructor

Overload List
  NameDescription
Public methodAssertionFailedException()
Initializes a new AssertionFailedException with the default error message.
Public methodAssertionFailedException(String)
Initializes a new AssertionFailedException and specifies the error message.
Public methodAssertionFailedException(String, Exception)
Initializes a new AssertionFailedException and specifies the error message and the inner Exception.
See Also