|
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.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
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