AFDataLossException Class
- Last UpdatedNov 18, 2025
- 4 minute read
- PI System
- AF SDK 2024 R2
- Developer
Represents a data loss incident in a datapipe.
Inheritance Hierarchy
SystemObject
SystemException
OSIsoft.AF.DataAFDataLossException
SystemException
OSIsoft.AF.DataAFDataLossException
Namespace: OSIsoft.AF.Data
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
[SerializableAttribute] public class AFDataLossException : Exception, ISerializable
<SerializableAttribute> Public Class AFDataLossException Inherits Exception Implements ISerializable Dim instance As AFDataLossException
[SerializableAttribute] public ref class AFDataLossException : public Exception, ISerializable
[<SerializableAttribute>] type AFDataLossException = class inherit Exception interface ISerializable end
The AFDataLossException type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| AFDataLossException |
Construct a data loss exception
|
Properties
| Name | Description | |
|---|---|---|
| Data | Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Inherited from Exception.) | |
| DataLossEndTime |
End time of data loss incident
| |
| DataLossStartTime |
Start time of possible data loss incident. Normally, it is the time when the last successful
data retrieval time for this data source. If there was no successful data retrieval time,
the start time is set to the time when the first attribute was added to the pipe using this data source.
| |
| DataOverflow |
True if data loss is caused by data overflow on the server.
| |
| HelpLink | Gets or sets a link to the help file associated with this exception. (Inherited from Exception.) | |
| HResult | Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Inherited from Exception.) | |
| InnerException | Gets the Exception instance that caused the current exception. (Inherited from Exception.) | |
| Message | Gets a message that describes the current exception. (Inherited from Exception.) | |
| Source | Gets or sets the name of the application or the object that causes the error. (Inherited from Exception.) | |
| StackTrace | Gets a string representation of the immediate frames on the call stack. (Inherited from Exception.) | |
| TargetSite | Gets the method that throws the current exception. (Inherited from Exception.) |
Methods
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| GetBaseException | When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (Inherited from Exception.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetObjectData | Obsolete.
Populates a SerializationInfo with the data needed to serialize
the target object.
(Overrides ExceptionGetObjectData(SerializationInfo, StreamingContext).) | |
| GetType | Gets the runtime type of the current instance. (Inherited from Exception.) | |
| ToString | Creates and returns a string representation of the current exception. (Inherited from Exception.) |
Extension Methods
| Name | Description | |
|---|---|---|
| IsRetryable |
This extension method will indicate if the Exception
is considered retryable.
(Defined by AFSDKExtension.) |