Click or drag to resize

QueryExecutionCancellationToken Class

Simple class which is used to control the execution of queries so these can be cancelled.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.DBDriverCoreQueryExecutionCancellationToken

Namespace:  SD.LLBLGen.Pro.DBDriverCore
Assembly:  SD.LLBLGen.Pro.DBDriverCore (in SD.LLBLGen.Pro.DBDriverCore.dll) Version: 5.10.0.0 (5.10.0)
Syntax
public class QueryExecutionCancellationToken

The QueryExecutionCancellationToken type exposes the following members.

Constructors
  NameDescription
Public methodQueryExecutionCancellationToken
Initializes a new instance of the QueryExecutionCancellationToken class
Top
Properties
  NameDescription
Public propertyActiveCommand
Sets the active command which then can be cancelled by another thread
Public propertyActiveConnection
Sets the active connection which then can be cancelled by another thread.
Public propertyActiveReader
The active reader obtained from a command. If not null, has to be closed first
Public propertyCancelled
Top
Methods
  NameDescription
Public methodAbortActiveCommand
Aborts the current execution of a command.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventAbortCompleted
Raised by the abort thread once it's completed. If you subscribe to this event, realize the call comes from another thread, not the UI thread!
Top
See Also