Class AbstractInterruptMonitor
Class AbstractInterruptMonitor
Namespace: Aspose.Cells
Assembly: Aspose.Cells.dll (25.2.0)
모든 시간 소모 작업에서 중단 요청을 모니터링합니다.
public abstract class AbstractInterruptMonitor
상속
object ← AbstractInterruptMonitor
파생
InterruptMonitor, SystemTimeInterruptMonitor, ThreadInterruptMonitor
상속된 멤버
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
생성자
AbstractInterruptMonitor()
protected AbstractInterruptMonitor()
속성
IsInterruptionRequested
현재 작업에 대해 중단 요청이 있는지를 나타냅니다.
true인 경우 현재 작업이 중단됩니다.
구현은 여기서 빠르고 효율적인 검사를 수행해야 하며, 그렇지 않으면 절차의 또 다른 병목 현상이 될 수 있습니다.
public abstract bool IsInterruptionRequested { get; }
속성 값
TerminateWithoutException
절차가 중단될 때, 절차를 조용히 종료할지 또는 예외를 던질지를 결정합니다.
기본값은 false이며, 이는 Aspose.Cells.AbstractInterruptMonitor.IsInterruptionRequested가 true일 때,
Aspose.Cells.ExceptionType.Interrupted 코드와 함께 Aspose.Cells.CellsException이 발생한다는 것을 의미합니다.
public virtual bool TerminateWithoutException { get; }