Creates an instance of the Compensating Action with the action type and optional properties.
Namespace: Scanjour.Workflow4.Base
Assembly: Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 23.3.0.0 (23.3.0.0)
Syntax
public CompensatingAction( CompensatingActionActionType type, TimeSpan? delay = null, int? maxRetryCount = null )
Parameters
- type
- Type: Scanjour.Workflow4.BaseCompensatingActionActionType
The suggested type of action. - delay (Optional)
- Type: SystemNullableTimeSpan
If the suggested type of action is Retry then this parameter specifies the delay in seconds between the retries. - maxRetryCount (Optional)
- Type: SystemNullableInt32
If the suggested type of action is Retry then this parameter specifies the maximum number of times the operation should be retried.
See Also