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