ContinueWith
method in Coherence.Cloud.PlayerAccountOperation
Methods
public PlayerAccountOperation ContinueWith(Action action, TaskContinuationOptions continuationOptions = TaskContinuationOptions.NotOnCanceled)
Specify an action to perform after the operation has completed (PlayerAccountOperation<TResult>.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 |
|---|---|
| PlayerAccountOperation |
public PlayerAccountOperation ContinueWith(Action<PlayerAccountOperation> action, TaskContinuationOptions continuationOptions = TaskContinuationOptions.NotOnCanceled)
Specify an action to perform after the operation has completed (PlayerAccountOperation<TResult>.IsCompleted becomes true).
Parameters
| Type | Name | Description |
|---|---|---|
| Action<PlayerAccountOperation> | 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 |
|---|---|
| PlayerAccountOperation |