OperationAbortedException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.