PostSharp 6.6 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns Namespace / Assertion­Failed­Exception Class / Assertion­Failed­Exception Constructor / Assertion­Failed­Exception Constructor (String, Exception)

AssertionFailedException Constructor (String, Exception)

Initializes a new AssertionFailedException and specifies the error message and the inner Exception.

Namespace:  PostSharp.Patterns
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.6.14.0 (6.6.14.0)
Syntax
C#
public AssertionFailedException(
	string message,
	Exception inner
)

Parameters

message
Type: System.String
inner
Type: System.Exception
See Also