PostSharp 2023.0 / / Post­Sharp Documentation / 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: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public AssertionFailedException(
	string message
)

Parameters

message
Type: System.String
See Also