Export (0) Print
Expand All

CancellationDisposable Constructor (CancellationTokenSource)

Initializes a new instance of the CancellationDisposable class that uses an existing CancellationTokenSource.

Namespace:  System.Reactive.Disposables
Assembly:  System.Reactive (in System.Reactive.dll)

public CancellationDisposable(
	CancellationTokenSource cts
)

Parameters

cts
Type: System.Threading.CancellationTokenSource
The CancellationTokenSource used for cancellation.
Show:
© 2014 Microsoft