AFDataCache.ObservePendingChanges Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Observes a set of changes from the server and prepares to update the AFDataPipe to reflect them.
Namespace: OSIsoft.AF.Data
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFDataPipeUpdateToken ObservePendingChanges( IEnumerable<AFChangeInfo> pendingChanges )
Public Function ObservePendingChanges ( pendingChanges As IEnumerable(Of AFChangeInfo) ) As AFDataPipeUpdateToken Dim instance As AFDataCache Dim pendingChanges As IEnumerable(Of AFChangeInfo) Dim returnValue As AFDataPipeUpdateToken returnValue = instance.ObservePendingChanges(pendingChanges)
public: AFDataPipeUpdateToken^ ObservePendingChanges( IEnumerable<AFChangeInfo>^ pendingChanges )
member ObservePendingChanges : pendingChanges : IEnumerable<AFChangeInfo> -> AFDataPipeUpdateToken
Parameters
- pendingChanges
- Type: System.Collections.GenericIEnumerableAFChangeInfo
The changes to observe.
Return Value
Type: AFDataPipeUpdateTokenA token that can be used to process the changes after they have been loaded into the client. The token also reports which AFAttributes might be affected by the changes.
Remarks
This call must be made before calling Refresh(PISystem, IEnumerableAFChangeInfo) on the specified changes.