C# Class Microsoft.AspNetCore.SignalR.Infrastructure.SafeCancellationTokenSource

Thread safe cancellation token source. Allows the following: - Cancel will no-op if the token is disposed. - Dispose may be called after Cancel.
Inheritance: IDisposable
Afficher le fichier Open project: FabianGosebrink/ASPNET-Core-Angular2-SignalR-Typescript Class Usage Examples

Méthodes publiques

Méthode Description
Cancel ( bool useNewThread = true ) : void
Dispose ( ) : void
SafeCancellationTokenSource ( ) : System

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
CancelCore ( ) : void

Method Details

Cancel() public méthode

public Cancel ( bool useNewThread = true ) : void
useNewThread bool
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

SafeCancellationTokenSource() public méthode

public SafeCancellationTokenSource ( ) : System
Résultat System