Class AbstractInterruptMonitor

Class AbstractInterruptMonitor

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

Tüm zaman alıcı işlemlerde kesme taleplerini izleyin.

public abstract class AbstractInterruptMonitor

Miras

objectAbstractInterruptMonitor

Türemiş

InterruptMonitor, SystemTimeInterruptMonitor, ThreadInterruptMonitor

Miras Alınan Üyeler

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

Yapıcılar

AbstractInterruptMonitor()

protected AbstractInterruptMonitor()

Özellikler

IsInterruptionRequested

Mevcut işlem için kesme talep edilip edilmediğini belirtir.
Eğer doğruysa, mevcut işlem kesilecektir.
Uygulama burada hızlı ve verimli bir kontrol gerçekleştirmelidir, aksi takdirde prosedür için başka bir darboğaz haline gelebilir.

public abstract bool IsInterruptionRequested { get; }

Özellik Değeri

bool

TerminateWithoutException

Prosedür kesildiğinde, prosedürü sessizce sonlandırıp sonlandırmayacağı veya bir İstisna fırlatıp fırlatmayacağı.
Varsayılan değer yanlıştır, yani Aspose.Cells.AbstractInterruptMonitor.IsInterruptionRequested doğru olduğunda,
Aspose.Cells.ExceptionType.Interrupted koduna sahip bir Aspose.Cells.CellsException fırlatılacaktır.

public virtual bool TerminateWithoutException { get; }

Özellik Değeri

bool

 Türkçe