Loe inglise keeles

Jagamisviis:


OperationAbortedException Class

Definition

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

C#
[System.Serializable]
public sealed class OperationAbortedException : SystemException
C#
public sealed class OperationAbortedException : 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

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