AFErrors(TKey).AddPISystemError Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Add a PISystem specific error.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public void AddPISystemError( PISystem system, Exception ex )
Public Sub AddPISystemError ( system As PISystem, ex As Exception ) Dim instance As AFErrors Dim system As PISystem Dim ex As Exception instance.AddPISystemError(system, ex)
public: void AddPISystemError( PISystem^ system, Exception^ ex )
member AddPISystemError : system : PISystem * ex : Exception -> unit
Parameters
- system
- Type: OSIsoft.AFPISystem
The PISystem associated with the error. - ex
- Type: SystemException
The error exception to be added.