Specifies a custom formatted message to be added to the text of the assertion raised when
the retry operation has failed.
Namespace:
MbUnit.FrameworkAssembly: MbUnit (in MbUnit.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
public static IRetryOptions WithFailureMessage( string messageFormat, params Object[] messageArgs ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function WithFailureMessage ( _ messageFormat As String, _ ParamArray messageArgs As Object() _ ) As IRetryOptions |
Parameters
- messageFormat
- Type: System..::.String
A user-supplied assertion failure message string, or null if none.
- messageArgs
- Type: array<
System..::.Object
>[]()[]
The format arguments, or null or empty if none.
