AFEventFrame.Severity Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This is the severity level associated with the event.
Namespace: OSIsoft.AF.EventFrame
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFSeverity Severity { get; set; }
Public Property Severity As AFSeverity Get Set Dim instance As AFEventFrame Dim value As AFSeverity value = instance.Severity instance.Severity = value
public: property AFSeverity Severity { AFSeverity get (); void set (AFSeverity value); }
member Severity : AFSeverity with get, set
Property Value
Type: AFSeverityAn AFSeverity enumeration that has been assigned to this event frame.
Exceptions
| Exception | Condition |
|---|---|
| NotSupportedException | This exception is thrown when the EventFrameAcknowledgement feature is not enabled on the PI AF Server. |