InterruptionTokenSource

InterruptionTokenSource class

steht für die Quelle vonInterruptionToken .

public class InterruptionTokenSource : IInterruptionTokenSource

Konstrukteure

NameBeschreibung
InterruptionTokenSource()Erstellt eine neueInterruptionTokenSource .

Eigenschaften

NameBeschreibung
IsInterruptionRequested { get; }Gibt „true“ zurück, wenn eine Unterbrechung angefordert wird, andernfalls „false“.
Token { get; }Gibt ein neues Token zurück, das daran gebunden istInterruptionTokenSource .

Methoden

NameBeschreibung
Interrupt()Anforderung für Unterbrechung initialisieren.

Siehe auch