AFDataLossException Constructor
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Construct a data loss exception
Namespace: OSIsoft.AF.Data
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFDataLossException( AFTime startTime, AFTime endTime, bool isDataOverflow, string message )
Public Sub New ( startTime As AFTime, endTime As AFTime, isDataOverflow As Boolean, message As String ) Dim startTime As AFTime Dim endTime As AFTime Dim isDataOverflow As Boolean Dim message As String Dim instance As New AFDataLossException(startTime, endTime, isDataOverflow, message)
public: AFDataLossException( AFTime startTime, AFTime endTime, bool isDataOverflow, String^ message )
new : startTime : AFTime * endTime : AFTime * isDataOverflow : bool * message : string -> AFDataLossException
Parameters
- startTime
- Type: OSIsoft.AF.TimeAFTime
start time of the data loss incident - endTime
- Type: OSIsoft.AF.TimeAFTime
end time of the data loss incident - isDataOverflow
- Type: SystemBoolean
Whether the data loss incident is caused by data overflow at the data source - message
- Type: SystemString
any addition message for the incident