|   | CompatibleCancellationTokenGetTokenSource Method | 
        
        
        
        Namespace: GSF.ThreadingAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.257-beta+00aa2366fbb9ec75f636ebc7cfa610e3826a727c
 Syntax
Syntaxpublic CancellationTokenSource GetTokenSource()
Public Function GetTokenSource As CancellationTokenSource
public:
CancellationTokenSource^ GetTokenSource()
member GetTokenSource : unit -> CancellationTokenSource 
function GetTokenSource();
Return Value
CancellationTokenSourceA 
CancellationTokenSource associated with this 
CompatibleCancellationToken.
 Remarks
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
See Also