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.323-beta+aefb8e4393da7a2a0171af4e5d5d8668dbbc75f1
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