Class AbstractInterruptMonitor

Class AbstractInterruptMonitor

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

すべての時間のかかる操作において、中断要求を監視します。

public abstract class AbstractInterruptMonitor

継承

objectAbstractInterruptMonitor

派生

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; }

プロパティ値

bool

TerminateWithoutException

手続きが中断された場合、手続きを静かに終了するか、例外をスローするかを指定します。 デフォルトは false であり、つまり Aspose.Cells.AbstractInterruptMonitor.IsInterruptionRequested が true の場合、 Aspose.Cells.ExceptionType.Interrupted コードを持つ Aspose.Cells.CellsException がスローされます。

public virtual bool TerminateWithoutException { get; }

プロパティ値

bool

 日本語