CompensatingAction Constructor

Creates an instance of the Compensating Action with the action type and optional properties.

Definition

Namespace: Scanjour.Workflow4.Base
Assembly: Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 24.4.0.0 (24.4.0.0)
C#
public CompensatingAction(
	CompensatingActionActionType type,
	TimeSpan? delay = null,
	int? maxRetryCount = null
)

Parameters

type  CompensatingActionActionType
The suggested type of action.
delay  NullableTimeSpan  (Optional)
If the suggested type of action is Retry then this parameter specifies the delay in seconds between the retries.
maxRetryCount  NullableInt32  (Optional)
If the suggested type of action is Retry then this parameter specifies the maximum number of times the operation should be retried.

See Also