Initializes a new AssertionFailedException exception with a message.
Namespace:
PostSharpAssembly: PostSharp.Core (in PostSharp.Core.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ message As String _ ) |
| C# |
|---|
public AssertionFailedException( string message ) |
| Visual C++ |
|---|
public: AssertionFailedException( String^ message ) |
Parameters
- message
- Type: System..::.String
Exception message.