OperationAbortedException Class

Definition

This exception is thrown when an ongoing operation is aborted by the user.

public sealed class OperationAbortedException : SystemException
[System.Serializable]
public sealed class OperationAbortedException : SystemException
type OperationAbortedException = class
    inherit SystemException
[<System.Serializable>]
type OperationAbortedException = class
    inherit SystemException
Public NotInheritable Class OperationAbortedException
Inherits SystemException
Inheritance
OperationAbortedException
Attributes

Remarks

This exception indicates that an operation has been aborted by the consumer of an API. For example, if the event handler of the SqlRowsCopied event sets the Abort property to true in the SqlRowsCopiedEventArgs object passed to the handler, the WriteToServer method stops sending rows to the server and throws an OperationAbortedException.

Applies to