CompatibleCancellationToken(CancellationToken) Constructor

Creates a CompatibleCancellationToken based on an existing system cancellation token.

Definition

Namespace: Gemstone.Threading.Cancellation
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.169 -- Release Build+7345f63a8c9771f20dc280b192df2ccb62049660
public CompatibleCancellationToken(
	CancellationToken token
)

Parameters

token  CancellationToken
Existing system token.

Remarks

A CompatibleCancellationToken created from an existing system cancellation token cannot be cancelled since the source for the provided token will not be available.

See Also