Class AbstractInterruptMonitor

Class AbstractInterruptMonitor

Namespace: Aspose.Cells
Assembly: Aspose.Cells.dll (25.2.0)

Monitora le richieste di interruzione in tutte le operazioni che richiedono tempo.

public abstract class AbstractInterruptMonitor

Ereditarietà

objectAbstractInterruptMonitor

Derivato

InterruptMonitor, SystemTimeInterruptMonitor, ThreadInterruptMonitor

Membri Ereditati

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Costruttori

AbstractInterruptMonitor()

protected AbstractInterruptMonitor()

Proprietà

IsInterruptionRequested

Indica se è stata richiesta un’interruzione per l’operazione corrente.
Se true, l’operazione corrente verrà interrotta.
L’implementazione dovrebbe eseguire un controllo rapido ed efficiente qui, altrimenti potrebbe diventare un altro collo di bottiglia per la procedura.

public abstract bool IsInterruptionRequested { get; }

Valore della Proprietà

bool

TerminateWithoutException

Quando la procedura viene interrotta, se terminare la procedura silenziosamente o generare un’eccezione.
Il valore predefinito è false, cioè, quando Aspose.Cells.AbstractInterruptMonitor.IsInterruptionRequested è true,
verrà generata un’Aspose.Cells.CellsException con codice Aspose.Cells.ExceptionType.Interrupted.

public virtual bool TerminateWithoutException { get; }

Valore della Proprietà

bool

 Italiano