Creates an instance of the Compensating Action with the action type and optional properties.
Namespace: Scanjour.Workflow4.ActivityLibrary.ErrorManagement
Assembly: Scanjour.Workflow4.ActivityLibrary_19.1.6.0 (in Scanjour.Workflow4.ActivityLibrary_19.1.6.0.dll) Version: 19.1.6.0 (19.1.6.0)
Syntax
public CompensatingAction( CompensatingActionActionType type, Nullable<TimeSpan> delay = null, Nullable<int> maxRetryCount = null )
Parameters
- type
- Type: Scanjour.Workflow4.ActivityLibrary.ErrorManagementCompensatingActionActionType
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