Class AbstractInterruptMonitor
Namespace: Aspose.Cells
Assembly: Aspose.Cells.dll (25.2.0)
Pantau permintaan interupsi dalam semua operasi yang memakan waktu.
public abstract class AbstractInterruptMonitor
Pewarisan
object ← AbstractInterruptMonitor
Turunan
InterruptMonitor, SystemTimeInterruptMonitor, ThreadInterruptMonitor
Anggota yang Dwarisi
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Konstruktor
AbstractInterruptMonitor()
protected AbstractInterruptMonitor()
Properti
IsInterruptionRequested
Menunjukkan apakah interupsi diminta untuk operasi saat ini.
Jika true, maka operasi saat ini akan terputus.
Implementasi harus melakukan pemeriksaan cepat dan efisien di sini, jika tidak, ini dapat menjadi bottleneck lain untuk prosedur.
public abstract bool IsInterruptionRequested { get; }
Nilai Properti
TerminateWithoutException
Saat prosedur terputus, apakah menghentikan prosedur dengan tenang atau melempar Exception.
Default adalah false, yaitu, ketika Aspose.Cells.AbstractInterruptMonitor.IsInterruptionRequested adalah true,
sebuah Aspose.Cells.CellsException dengan kode Aspose.Cells.ExceptionType.Interrupted akan dilempar.
public virtual bool TerminateWithoutException { get; }