|
CancellationToken Conversion (CancellationToken to CancellationTokenSource)
|
Implicitly converts a GSF cancellation token to an associated CancellationTokenSource.
Namespace: GSF.ThreadingAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.251-beta+c370f3da3791592278238855631f53a5ff418c68
SyntaxPublic Shared Widening Operator CType (
token As CancellationToken
) As CancellationTokenSource
F# does not support the declaration of new casting operators.
JavaScript does not support the declaration of new casting operators.
View SourceParameters
- token CancellationToken
- Existing GSF cancellation token that is converted to an associated CancellationTokenSource.
Return Value
CancellationTokenSourceA
CancellationToken based on an existing GSF cancellation token.
See Also