AFNotificationRuleTemplate.Changed Event
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Event is raised when the object or one of its sub-objects is changed.
Namespace: OSIsoft.AF.Notification
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public event EventHandler<AFChangedEventArgs> Changed
Public Event Changed As EventHandler(Of AFChangedEventArgs) Dim instance As AFNotificationRuleTemplate Dim handler As EventHandler(Of AFChangedEventArgs) AddHandler instance.Changed, handler
public: virtual event EventHandler<AFChangedEventArgs^>^ Changed { void add (EventHandler<AFChangedEventArgs^>^ value); void remove (EventHandler<AFChangedEventArgs^>^ value); }
abstract Changed : IEvent<EventHandler<AFChangedEventArgs>, AFChangedEventArgs> override Changed : IEvent<EventHandler<AFChangedEventArgs>, AFChangedEventArgs>
Value
Type: SystemEventHandlerAFChangedEventArgsImplements
IAFChangedEventChanged
Remarks
A Changed event is raised when an object is changed or one of its sub-objects is changed. This is normally caused by a modification to the object. It could also be raised as result of checking in changes (IAFTransactable.CheckIn), checking out to make changes (IAFTransactable.CheckOut), or undoing a check out (IAFTransactable.UndoCheckOut). A PISystem.Refresh or AFDatabase.Refresh can also raise a Changed events for each change detected that was made by another application.
For more information about the information provided by the Changed event, see AFChangedEventArgs and AFChangeAction.
Examples
For an example of how to handle events, see
Event Example.
Version Information
AFSDK
Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.11, 2.10.5, 2.10.0, 2.10, 2.9.5, 2.9, 2.8.5, 2.8
See Also
Reference
SystemEventHandlerTEventArgs