An instance of this class is passed to an operation that can be cancelled.
Inheritance Hierarchy
Cognex.Vision ShareableBase
Cognex.Vision CancelToken
Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.10.0.0
Syntax
The CancelToken type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CancelToken | Constructs a new instance of this class. |
Methods
| Name | Description | |
|---|---|---|
| Cancel | The Cancel method is called to cancel a lengthy operation such as Train or Tune. The Cancel method will raise the CancelEvent. The API is responsible to listen to the CancelEvent and cancel the operation. | |
| Equals | Compares the equality of this object with another. (Overrides ShareableBase Equals(Object).) | |
| GetHashCode | Returns the hash code of this object. (Overrides ShareableBase GetHashCode .) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetTypeMeta | Get the TypeMeta that describes the type of this object. | |
| ToString | Returns a human readable string that represents the object. |
Operators
| Name | Description | |
|---|---|---|
| Equality | Compares the equality of two CancelToken objects. | |
| Inequality | Compares the inequality of two CancelToken objects. |
Properties
| Name | Description | |
|---|---|---|
| Handle | (Overrides ShareableBase Handle.) |
See Also