System.Threading.CancellationTokenSource.CreateLinkedTokenSource Method

Creates a System.Threading.CancellationTokenSource that will be in the canceled state when any of the source tokens in the specified array are in the canceled state.

Syntax

public static CancellationTokenSource CreateLinkedTokenSource (params CancellationToken[] tokens)

Parameters

tokens
An array that contains the cancellation token instances to observe.

Returns

A System.Threading.CancellationTokenSource that is linked to the source tokens.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0