CancellationDisposable(CancellationTokenSource) constructor¶
Defined in
Type: CancellationDisposable
Namespace: ReactiveUI.Primitives.Disposables
Assembly: ReactiveUI.Disposables.dll
Applies to
net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net462, net481
Overloads¶
- 1.
public CancellationDisposable(CancellationTokenSource cts) - 2.
public CancellationDisposable()
1. Overload¶
public CancellationDisposable(CancellationTokenSource cts)
Summary: Initializes a new instance of the CancellationDisposable class.
Parameters
| Name | Type | Description |
|---|---|---|
cts | CancellationTokenSource | The CTS. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | cts. |
2. Overload¶
public CancellationDisposable()
Summary: Initializes a new instance of the CancellationDisposable class.