AFAnalysisError Enumeration
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Analysis error codes to be use with AFAnaysisException for configuration and run time exceptions
Error codes are used to map to resource strings
Namespace: OSIsoft.AF.Analysis
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public enum AFAnalysisError
Public Enumeration AFAnalysisError Dim instance As AFAnalysisError
public enum class AFAnalysisError
type AFAnalysisError
Members
| Member name | Value | Description | |
|---|---|---|---|
| Unknown | 0 | Unknown | |
| GeneralException | 1 | General exception | |
| RequiresStatePassingSupport | 2 | Object requires state passing support | |
| FailedToResolveRequiredInputVariable | 3 | Failure to resolve required input variable on analysis | |
| VariableResolvedToIncompatibleType | 4 | Variable resolved to incompatible type on analysis | |
| IncompatibleAttribute | 5 | Variable on the analysis is an incompatible attribute | |
| DuplicateOutputAttribute | 6 | More than one output is mapped to the same attribute | |
| FailedToLoadDataReference | 7 | The failed automatic load data reference | |
| FailedToLoadInputDataReferences | 8 | The failed automatic load input data references | |
| FailedToLoadAnalysisRule | 9 | The failed automatic load analysis rule | |
| InputIsExcluded | 10 | The input variable on Analysis is excluded |