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

AF SDK Reference

AFErrors(TKey).AddPISystemError Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFErrors(TKey).AddPISystemError Method
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.

Remarks

This method will add the error to the PISystemErrors dictionary and set the HasErrors to .

Version Information

AFSDK


See Also

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