AFCaseCancelEventArgs Class
- Last UpdatedNov 18, 2025
- 3 minute read
- PI System
- AF SDK 2024 R2
- Developer
Provides data for the before AFCase action events.
Inheritance Hierarchy
SystemObject
SystemEventArgs
System.ComponentModelCancelEventArgs
OSIsoft.AF.AnalysisAFCaseCancelEventArgs
SystemEventArgs
System.ComponentModelCancelEventArgs
OSIsoft.AF.AnalysisAFCaseCancelEventArgs
Namespace: OSIsoft.AF.Analysis
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public sealed class AFCaseCancelEventArgs : CancelEventArgs, IEquatable<AFCaseCancelEventArgs>
Public NotInheritable Class AFCaseCancelEventArgs Inherits CancelEventArgs Implements IEquatable(Of AFCaseCancelEventArgs) Dim instance As AFCaseCancelEventArgs
public ref class AFCaseCancelEventArgs sealed : public CancelEventArgs, IEquatable<AFCaseCancelEventArgs^>
[<SealedAttribute>] type AFCaseCancelEventArgs = class inherit CancelEventArgs interface IEquatable<AFCaseCancelEventArgs> end
The AFCaseCancelEventArgs type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| AFCaseCancelEventArgs |
Initializes a new instance of the AFCaseCancelEventArgs class for
an AFCase action.
|
Properties
| Name | Description | |
|---|---|---|
| Action |
Gets an action that specifies what caused the event to be raised.
| |
| Cancel | Gets or sets a value indicating whether the event should be canceled. (Inherited from CancelEventArgs.) |
Methods
| Name | Description | |
|---|---|---|
| Equals(Object) |
Determines whether the specified Object is equal to the current object.
(Overrides ObjectEquals(Object).) | |
| Equals(AFCaseCancelEventArgs) |
Indicates whether the current object is equal to another object of the same type.
| |
| GetHashCode |
Gets the hash code for this instance of the object which is suitable for use in hashing
algorithms and data structures like a hash table.
(Overrides ObjectGetHashCode.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ToString |
Returns a String that represents the current object.
(Overrides ObjectToString.) |
Operators
| Name | Description | |
|---|---|---|
| Equality |
The equality operator (==) compares its operands to determine if they are equal.
| |
| Inequality |
The inequality operator (!=) compares its operands to determine if they are not equal.
|
Remarks
These arguments are used when generating a before AFCase events that
can be canceled.