|
CompatibleCancellationTokenGetTokenSource Method
|
Namespace: GSF.ThreadingAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.251-beta+c370f3da3791592278238855631f53a5ff418c68
Syntaxpublic CancellationTokenSource GetTokenSource()
Public Function GetTokenSource As CancellationTokenSource
public:
CancellationTokenSource^ GetTokenSource()
member GetTokenSource : unit -> CancellationTokenSource
function GetTokenSource();
View SourceReturn Value
CancellationTokenSourceA
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