ChangedEventSuspender ClassCognex VisionPro 9.22 SR1

This class is intended to be used in cases where paired calls to ChangedEventSuspended and ResumeAndRaiseChangedEvent are needed. Class users will instantiate the class in a C# using statement. The constructor will automatically call ChangedEventSuspended; Dispose will call ResumeAndRaiseChangedEvent.

Inheritance Hierarchy

System Object
  Cognex.Vision ShareableBase
    Cognex.Vision.Implementation ChangedEventSuspender

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

public sealed class ChangedEventSuspender : ShareableBase, 
	IObject, IDisposable

The ChangedEventSuspender type exposes the following members.

Constructors

  NameDescription
Public methodChangedEventSuspender

Constructs an instance of this class and manage the flow of ChangedEvent from the supplied object.

Top
Methods

  NameDescription
Public methodDispose
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 ChangedEventSuspender objects.
Public operatorStatic memberInequality
Compares the inequality of two ChangedEventSuspender objects.
Top
Properties

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