CancellationTokenSource.CreateLinkedTokenSource Method (CancellationToken, CancellationToken)
December 03, 2013
Creates a CancellationTokenSource that will be in the canceled state when any of the source tokens are in the canceled state.
Assembly: mscorlib (in mscorlib.dll)
public static CancellationTokenSource CreateLinkedTokenSource( CancellationToken token1, CancellationToken token2 )
A CancellationTokenSource associated with one of the source tokens has been disposed.
If any of the tokens cannot be canceled, they will not be linked. The returned source will be cancelable.
If any of the tokens are already canceled then the linked token will be returned in canceled state.