GrainCancellationTokenSource Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An analogue to CancellationTokenSource which can be sent between grains.
public sealed class GrainCancellationTokenSource : IDisposable
type GrainCancellationTokenSource = class
interface IDisposable
Public NotInheritable Class GrainCancellationTokenSource
Implements IDisposable
- Inheritance
-
GrainCancellationTokenSource
- Implements
Grain |
Initializes the GrainCancellationTokenSource. |
Is |
Gets a value indicating whether cancellation has been requested. |
Token |
Gets the CancellationToken associated with this GrainCancellationTokenSource. |
Cancel() |
Communicates a request for cancellation. |
Dispose() |
Releases the resources used by this Orleans.Async.GrainCancellationTokenSource. |