Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFDataLossException Class

  • Last UpdatedNov 18, 2025
  • 4 minute read
AFDataLossException Class
Represents a data loss incident in a datapipe.

Inheritance Hierarchy

SystemObject
  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

  NameDescription
Public method
AFDataLossException
Construct a data loss exception

Properties

  NameDescription
Public property
Data
Gets a collection of key/value pairs that provide additional user-defined information about the exception.
(Inherited from Exception.)
Public property
DataLossEndTime
End time of data loss incident
Public property
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.
Public property
DataOverflow
True if data loss is caused by data overflow on the server.
Public property
HelpLink
Gets or sets a link to the help file associated with this exception.
(Inherited from Exception.)
Public property
HResult
Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception.
(Inherited from Exception.)
Public property
InnerException
Gets the Exception instance that caused the current exception.
(Inherited from Exception.)
Public property
Message
Gets a message that describes the current exception.
(Inherited from Exception.)
Public property
Source
Gets or sets the name of the application or the object that causes the error.
(Inherited from Exception.)
Public property
StackTrace
Gets a string representation of the immediate frames on the call stack.
(Inherited from Exception.)
Public property
TargetSite
Gets the method that throws the current exception.
(Inherited from Exception.)

Methods

  NameDescription
Public method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public method
GetBaseException
When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions.
(Inherited from Exception.)
Public method
GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method
GetObjectData Obsolete.
Populates a SerializationInfo with the data needed to serialize the target object.
(Overrides ExceptionGetObjectData(SerializationInfo, StreamingContext).)
Public method
GetType
Gets the runtime type of the current instance.
(Inherited from Exception.)
Public method
ToString
Creates and returns a string representation of the current exception.
(Inherited from Exception.)

Extension Methods

  NameDescription
Public Extension Method
IsRetryable
This extension method will indicate if the Exception is considered retryable.
(Defined by AFSDKExtension.)

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.11, 2.10.5, 2.10.0, 2.10, 2.9.5, 2.9, 2.8.5, 2.8, 2.7.5, 2.7, 2.6

See Also

TitleResults for “How to create a CRG?”Also Available in