Specifies a custom action to be executed between each consecutive attempt, but not before the first one.
Namespace:
MbUnit.FrameworkAssembly: MbUnit (in MbUnit.dll) Version: 3.3.0.0 (3.3.459.0)
Syntax
| C# |
|---|
public static IRetryOptions DoBetween( Action action ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function DoBetween ( _ action As Action _ ) As IRetryOptions |
Parameters
- action
- Type: Gallio.Common..::.Action
A custom action to be executed.
Return Value
An instance to specify other options for the retry operation.
Exceptions
| Exception | Condition |
|---|---|
| System..::.InvalidOperationException | Thrown if the option was called more than once. |
| System..::.ArgumentNullException | Thrown if action is null. |
