Click or drag to resize

ManagedCancellationTokenSourceRetrieveToken Method

Retrieves the CancellationToken used to check the state of cancellation.

Namespace: GSF.Threading
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
public IDisposable RetrieveToken(
	out CancellationToken cancellationToken
)
View Source

Parameters

cancellationToken  CancellationToken
The cancellation token.

Return Value

IDisposable
A disposable object used to control the lifetime of the cancellationToken.
See Also