ContinueWith
method in Coherence.Cloud.StorageOperation
Methods
public StorageOperation ContinueWith(Action action, TaskContinuationOptions continuationOptions = TaskContinuationOptions.NotOnCanceled)
Specify an action to perform after the operation has completed (StorageOperation.IsCompleted becomes true.
Parameters
Type | Name | Description |
---|---|---|
Action | action | Reference to a function to execute when the operation has completed. |
TaskContinuationOptions | continuationOptions | Options for when the continuation should be scheduled and how it behaves. |
Returns
Type | Description |
---|---|
StorageOperation |
public StorageOperation ContinueWith(Action<StorageOperation> action, TaskContinuationOptions continuationOptions = TaskContinuationOptions.NotOnCanceled)
Specify an action to perform after the operation has completed (StorageOperation.IsCompleted becomes true.
Parameters
Type | Name | Description |
---|---|---|
Action<StorageOperation> | action | Reference to a function to execute when the operation has completed. |
TaskContinuationOptions | continuationOptions | Options for when the continuation should be scheduled and how it behaves. |
Returns
Type | Description |
---|---|
StorageOperation |