Click or drag to resize

CompatibleCancellationTokenGetTokenSource Method

Gets a CancellationTokenSource associated with this CompatibleCancellationToken.

Namespace: GSF.Threading
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.276-beta+3dd4b43be3e31323696af3ab6b14b705e6420d69
Syntax
public CancellationTokenSource GetTokenSource()
View Source

Return Value

CancellationTokenSource
A CancellationTokenSource associated with this CompatibleCancellationToken.
Remarks
This function will return null when the CompatibleCancellationToken was created from an existing system cancellation token and not its source or a GSF cancellation token.
See Also