CancelToken ClassCognex VisionPro 9.22

An instance of this class is passed to an operation that can be cancelled.

Inheritance Hierarchy

System Object
  Cognex.Vision ShareableBase
    Cognex.Vision CancelToken

Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.22.2.0
Syntax

public sealed class CancelToken : ShareableBase, 
	IObject

The CancelToken type exposes the following members.

Constructors

  NameDescription
Public methodCancelToken

Constructs a new instance of this class.

Top
Methods

  NameDescription
Public methodCancel

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.

Public methodEquals
Compares the equality of this object with another.
(Overrides ShareableBase Equals(Object).)
Public methodGetHashCode
Returns the hash code of this object.
(Overrides ShareableBase GetHashCode .)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetTypeMeta

Get the TypeMeta that describes the type of this object.

(Overrides ShareableBase GetTypeMeta .)
Public methodToString

Returns a human readable string that represents the object.

(Overrides Object ToString .)
Top
Operators

  NameDescription
Public operatorStatic memberEquality
Compares the equality of two CancelToken objects.
Public operatorStatic memberInequality
Compares the inequality of two CancelToken objects.
Top
Properties

  NameDescription
Public propertyHandle (Overrides ShareableBase Handle.)
Top
See Also