Unosquare
    Show / Hide Table of Contents

    Class CancellationTokenOwner

    Acts as a but with reusable tokens.

    Inheritance
    Object
    CancellationTokenOwner
    Namespace: Swan.Threading
    Syntax
    public sealed class CancellationTokenOwner : IDisposable

    Properties

    Token

    Gets the token of the current.

    Declaration
    public CancellationToken Token { get; }
    Property Value
    Type Description
    CancellationToken

    Methods

    Cancel()

    Cancels the last referenced token and creates a new token source.

    Declaration
    public void Cancel()

    Dispose()

    Declaration
    public void Dispose()

    Comments

    Back to top Copyright © 2017-2019 Unosquare