TypeLib Xojo support Plugin |

# Task.SetCancellationToken Method

Sets cancellation token for the class.

SetCancellationToken(
token as EinhugurRuntime.CancellationToken)

#### Parameters

token
  The token to be set.

#### Remarks

Note if task has progress handler on it then the progress handler will rule and the cancellation token will do nothing.
One or more tasks can subscribe to same token.

#### See Also

Task Class