AFDataPipeRangeDeletedEvent Constructor
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Construct a new data pipe event indicating that a range of data was removed.
Namespace: OSIsoft.AF.Data
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFDataPipeRangeDeletedEvent( AFDataPipeAction action, AFValue value, AFTime startTime, AFTime endTime )
Public Sub New ( action As AFDataPipeAction, value As AFValue, startTime As AFTime, endTime As AFTime ) Dim action As AFDataPipeAction Dim value As AFValue Dim startTime As AFTime Dim endTime As AFTime Dim instance As New AFDataPipeRangeDeletedEvent(action, value, startTime, endTime)
public: AFDataPipeRangeDeletedEvent( AFDataPipeAction action, AFValue^ value, AFTime startTime, AFTime endTime )
new : action : AFDataPipeAction * value : AFValue * startTime : AFTime * endTime : AFTime -> AFDataPipeRangeDeletedEvent
Parameters
- action
- Type: OSIsoft.AF.DataAFDataPipeAction
AFDataPipeAction of the event - value
- Type: OSIsoft.AF.AssetAFValue
AFValue portion of the event. The Attribute/PIPoint property of the AFValue is used to identify the source of the AFDataPipeEvent. - startTime
- Type: OSIsoft.AF.TimeAFTime
The beginning of the time range where data was removed. - endTime
- Type: OSIsoft.AF.TimeAFTime
The end of the time range where data was removed.
Remarks
AFDataPipeEvent will take ownership of the passed AFValue. If an application wants to assign the
same value to multiple AFDataPipeEvents for different source AFAttributes, it should make
copy of the AFValue and set the Attribute property of the AFValue before calling the constructor