Click or drag to resize

CompatibleCancellationToken Implicit  Conversion (CancellationTokenSource to CompatibleCancellationToken)

Implicitly converts existing system cancellation token source to a CompatibleCancellationToken.

Namespace: GSF.Threading
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.246-beta+ff392465a0262ee2737937d4127fc3c2f08c6dcd
Syntax
public static implicit operator CompatibleCancellationToken (
	CancellationTokenSource source
)
View Source

Parameters

source  CancellationTokenSource
Existing system cancellation token source that is converted to a CompatibleCancellationToken.

Return Value

CompatibleCancellationToken
A CompatibleCancellationToken based on an existing system cancellation token source.
See Also