C# Class NanoByte.Common.Tasks.CancellationTokenSource

Signals to CancellationTokens that they should be canceled.
Unlike the built-in CancellationToken type of .NET the NanoByte.Common variant supports remoting.
Inheritance: MarshalNoTimeout, IDisposable
Mostrar archivo Open project: nano-byte/common Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Cancel ( ) : void

Notifies all listening CancellationTokens that operations should be canceled.

Dispose ( ) : void
ToString ( ) : string

Method Details

Cancel() public method

Notifies all listening CancellationTokens that operations should be canceled.
public Cancel ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string