PISerializationException Class
- Last UpdatedNov 18, 2025
- 5 minute read
- PI System
- AF SDK 2024 R2
- Developer
Note: This API is now obsolete.
Represents a serialization error in data returned from the PIServer.

Inheritance Hierarchy
Namespace: OSIsoft.AF.PI
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
[SerializableAttribute] [BrowsableAttribute(false)] [ObsoleteAttribute("PISerializationException is not relevant.")] public sealed class PISerializationException : PIException
<SerializableAttribute> <BrowsableAttribute(false)> <ObsoleteAttribute("PISerializationException is not relevant.")> Public NotInheritable Class PISerializationException Inherits PIException Dim instance As PISerializationException
[SerializableAttribute] [BrowsableAttribute(false)] [ObsoleteAttribute(L"PISerializationException is not relevant.")] public ref class PISerializationException sealed : public PIException
[<SealedAttribute>] [<SerializableAttribute>] [<BrowsableAttribute(false)>] [<ObsoleteAttribute("PISerializationException is not relevant.")>] type PISerializationException = class inherit PIException end
The PISerializationException type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| PISerializationException | Obsolete.
Initializes a new instance of the PISerializationException class with a
specified error message and a reference to the inner exception that is the cause
of this exception.
|
Properties
| Name | Description | |
|---|---|---|
| Data | Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Inherited from Exception.) | |
| 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.) | |
| Server |
The PIServer associated with the current exception.
(Inherited from PIException.) | |
| 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.) | |
| StatusCode |
The status code indicating the cause of the current exception that was returned
from the PIServer.
(Inherited from PIException.) | |
| 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.
(Inherited from PIException.) | |
| 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.) |
Version Information
AFSDK
Supported in: 2.7.5, 2.7, 2.6, 2.5Obsolete (compiler warning) in 3.1.1
Obsolete (compiler warning) in 3.1.0
Obsolete (compiler warning) in 3.0.2
Obsolete (compiler warning) in 3.0.1
Obsolete (compiler warning) in 3.0.0
Obsolete (compiler warning) in 2.10.11
Obsolete (compiler warning) in 2.10.5
Obsolete (compiler warning) in 2.10.0
Obsolete (compiler warning) in 2.10
Obsolete (compiler warning) in 2.9.5
Obsolete (compiler warning) in 2.9
Obsolete (compiler warning) in 2.8.5
Obsolete (compiler warning) in 2.8