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
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
The ChangedEventSuspender type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| ChangedEventSuspender | Constructs an instance of this class and manage the flow of ChangedEvent from the supplied object. |
Methods
| Name | Description | |
|---|---|---|
| Dispose | ||
| 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 ChangedEventSuspender objects. | |
| Inequality | Compares the inequality of two ChangedEventSuspender objects. |
Properties
| Name | Description | |
|---|---|---|
| Handle | (Overrides ShareableBase Handle.) |
See Also