OperationAbortedException Class
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 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
- Inheritance
-
OperationAbortedException
- Attributes
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.
Toode | Versioonid |
---|---|
SqlClient .NET Core | 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2 |
SqlClient .NET Framework | 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2 |
SqlClient .NET Standard | 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2 |