Click or drag to resize

CompatibleCancellationToken   Conversion (CompatibleCancellationToken to CancellationTokenSource)

Implicitly converts a CompatibleCancellationToken to an associated CancellationTokenSource.

Namespace: GSF.Threading
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
public static implicit operator CancellationTokenSource (
	CompatibleCancellationToken token
)
View Source

Parameters

token  CompatibleCancellationToken
Existing GSF cancellation token that is converted to an associated CancellationTokenSource.

Return Value

CancellationTokenSource
A CancellationToken based on an existing GSF cancellation token.
See Also