LongSynchronizedOperation(ActionCancellationToken) Constructor

Creates a new instance of the LongSynchronizedOperation class.

Definition

Namespace: Gemstone.Threading.SynchronizedOperations
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.182 -- Release Build+f32d10289bdd5c70f6d1fd7945194f372aed6eb3
public LongSynchronizedOperation(
	Action<CancellationToken> action
)

Parameters

action  ActionCancellationToken
The cancellable action to be performed during this operation.

Remarks

Cancellable synchronized operation is useful in cases where actions should be terminated during dispose and/or shutdown operations.

See Also