PostSharp6.5//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.5.10.0 (6.5.10.0)
Syntax
C#
public AssertionFailedException(
	string message,
	Exception inner
)

Parameters

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