Partager via


CancellationTokenExtensions Class

Definition

Extensions to CancellationToken.

public ref class CancellationTokenExtensions abstract sealed
public static class CancellationTokenExtensions
type CancellationTokenExtensions = class
Public Module CancellationTokenExtensions
Inheritance
CancellationTokenExtensions

Methods

CombineWith(CancellationToken, CancellationToken)

Creates a new CancellationToken that is canceled when any of a set of other tokens are canceled.

CombineWith(CancellationToken, CancellationToken[])

Creates a new CancellationToken that is canceled when any of a set of other tokens are canceled.

Applies to