CancellationDisposable Constructor (CancellationTokenSource)
Namespace: Microsoft.Phone.Reactive
Assembly: Microsoft.Phone.Reactive (in Microsoft.Phone.Reactive.dll)
Syntax
'Declaration
Public Sub New ( _
cts As CancellationTokenSource _
)
public CancellationDisposable(
CancellationTokenSource cts
)
public:
CancellationDisposable(
CancellationTokenSource^ cts
)
new :
cts:CancellationTokenSource -> CancellationDisposable
Parameters
- cts
Type: System.Threading.CancellationTokenSource
Version Information
.NET for Windows Phone apps
Supported in: Windows Phone 8, Silverlight 8.1
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.