CancellationToken.Inequality Operator
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Determines whether two CancellationToken instances are not equal.
Assembly: mscorlib (in mscorlib.dll)
'Declaration Public Shared Operator <> ( _ left As CancellationToken, _ right As CancellationToken _ ) As Boolean
Parameters
- left
- Type: System.Threading.CancellationToken
The first instance.
- right
- Type: System.Threading.CancellationToken
The second instance.
| Exception | Condition |
|---|---|
| ObjectDisposedException | An associated CancellationTokenSource has been disposed. |
Show: