OperationAbortedException Sınıf

Tanım

Devam eden bir işlem kullanıcı tarafından durdurulduğunda bu özel durum oluşur.

public ref class OperationAbortedException sealed : SystemException
[System.Serializable]
public sealed class OperationAbortedException : SystemException
public sealed class OperationAbortedException : SystemException
[<System.Serializable>]
type OperationAbortedException = class
    inherit SystemException
type OperationAbortedException = class
    inherit SystemException
Public NotInheritable Class OperationAbortedException
Inherits SystemException
Devralma
OperationAbortedException
Öznitelikler

Açıklamalar

Bu özel durum, bir işlemin bir API'nin tüketicisi tarafından durdurulduğunu gösterir. Örneğin, olayın olay işleyicisiSqlRowsCopied, işleyiciye geçirilen nesnede SqlRowsCopiedEventArgsAbort özelliğini olarak true ayarlarsa, WriteToServer yöntem sunucuya satır göndermeyi durdurur ve bir OperationAbortedExceptionoluşturur.

Şunlara uygulanır