PostSharp6.5//API Reference/Post­Sharp.​Patterns Namespace/Assertion­Failed­Exception Class/Assertion­Failed­Exception Constructor/Assertion­Failed­Exception Constructor (String)

AssertionFailedException Constructor (String)

Initializes a new AssertionFailedException and specifies the error message.

Namespace:  PostSharp.Patterns
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.5.13.0 (6.5.13.0)
Syntax
C#
public AssertionFailedException(
	string message
)

Parameters

message
Type: System.String
See Also