Click or drag to resize

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