AFChangedEventArgs Constructor (AFChangeAction, AFIdentity, Guid, Guid)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Initializes a new instance of the AFChangedEventArgs class for
a sub-object change action.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFChangedEventArgs( AFChangeAction action, AFIdentity identity, Guid id, Guid parentID )
Public Sub New ( action As AFChangeAction, identity As AFIdentity, id As Guid, parentID As Guid ) Dim action As AFChangeAction Dim identity As AFIdentity Dim id As Guid Dim parentID As Guid Dim instance As New AFChangedEventArgs(action, identity, id, parentID)
public: AFChangedEventArgs( AFChangeAction action, AFIdentity identity, Guid id, Guid parentID )
new : action : AFChangeAction * identity : AFIdentity * id : Guid * parentID : Guid -> AFChangedEventArgs
Parameters
- action
- Type: OSIsoft.AFAFChangeAction
Either SubObjectAdd, SubObjectRemove, SubObjectRefresh, SubObjectChange, or SubObjectValueChange to specify how the sub-object changed. - identity
- Type: OSIsoft.AFAFIdentity
The Identity of the sub-object that changed. - id
- Type: SystemGuid
The ID of the sub-object that changed. - parentID
- Type: SystemGuid
The ID of the parent object that changed. Set this to Guid.Empty if the parent of the changed sub-object is the IAFTransactable object associated with this event.
Remarks
This constructor is to be used for changes to sub-objects.