AFNotificationContentResults Class
- Last UpdatedNov 18, 2025
- 7 minute read
- PI System
- AF SDK 2024 R2
- Developer
The collection of AFNotificationContentResult objects associated
with an AFNotification.
Inheritance Hierarchy
SystemObject
System.Collections.ObjectModelCollectionAFNotificationContentResult
OSIsoft.AF.NotificationAFNotificationContentResults
System.Collections.ObjectModelCollectionAFNotificationContentResult
OSIsoft.AF.NotificationAFNotificationContentResults
Namespace: OSIsoft.AF.Notification
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
[SerializableAttribute] public class AFNotificationContentResults : Collection<AFNotificationContentResult>, IAFTrace
<SerializableAttribute> Public Class AFNotificationContentResults Inherits Collection(Of AFNotificationContentResult) Implements IAFTrace Dim instance As AFNotificationContentResults
[SerializableAttribute] public ref class AFNotificationContentResults : public Collection<AFNotificationContentResult^>, IAFTrace
[<SerializableAttribute>] type AFNotificationContentResults = class inherit Collection<AFNotificationContentResult> interface IAFTrace end
The AFNotificationContentResults type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| AFNotificationContentResults |
Creates an instance of the AFNotificationContentResults collection.
|
Properties
| Name | Description | |
|---|---|---|
| ContactID |
The ID of the AFNotificationContact associated with this
list of content results.
| |
| Count | Gets the number of elements actually contained in the CollectionT. (Inherited from CollectionAFNotificationContentResult.) | |
| DatabaseID | ||
| EndTime |
The end time associated with this list of content results.
| |
| EscalationLevel |
The escalation level associated with this list of content results.
| |
| ItemInt32 | Gets or sets the element at the specified index. (Inherited from CollectionAFNotificationContentResult.) | |
| ItemGuid |
Gets the item with the specified id.
| |
| NotificationDescription |
The description of the notification associated with this list of content results.
| |
| NotificationInstanceID |
The notification instance identifier associated with this list of content results.
| |
| NotificationName |
The name of the notification associated with this list of content results.
| |
| NotificationState |
The state that triggered the notification associated with this list of content results.
| |
| NotificationUniqueID |
The ID of the notification associated with this list of content results.
| |
| Priority |
The priority associated with this list of content results.
| |
| StartTime |
The start time associated with this list of content results.
| |
| SystemID | ||
| Target |
A string representing the Target of the associated AFNotification.
| |
| TriggerTime |
The trigger time associated with this list of content results.
|
Methods
| Name | Description | |
|---|---|---|
| Add | Adds an object to the end of the CollectionT. (Inherited from CollectionAFNotificationContentResult.) | |
| AddResults |
This method adds notification results to this collection based upon the AFCase.
| |
| Clear | Removes all elements from the CollectionT. (Inherited from CollectionAFNotificationContentResult.) | |
| Contains(Guid) |
Determines whether this collection contains an AFNotificationContentResult for a specified
attribute ID.
| |
| Contains(T) | Determines whether an element is in the CollectionT. (Inherited from CollectionAFNotificationContentResult.) | |
| CopyTo | Copies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from CollectionAFNotificationContentResult.) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| FilterResults |
This method filters the results in this object based on the AFNotificationContact.
| |
| GetEnumerator | Returns an enumerator that iterates through the CollectionT. (Inherited from CollectionAFNotificationContentResult.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IndexOf | Searches for the specified object and returns the zero-based index of the first occurrence within the entire CollectionT. (Inherited from CollectionAFNotificationContentResult.) | |
| Insert | Inserts an element into the CollectionT at the specified index. (Inherited from CollectionAFNotificationContentResult.) | |
| IsTraced |
Indicates if a specified level is being traced.
| |
| Remove | Removes the first occurrence of a specific object from the CollectionT. (Inherited from CollectionAFNotificationContentResult.) | |
| RemoveAt | Removes the element at the specified index of the CollectionT. (Inherited from CollectionAFNotificationContentResult.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| TraceData |
Output a data trace event.
| |
| TraceDetail |
Output a detail trace event.
| |
| TraceError |
Output an error trace event.
| |
| TraceEvent(AFTraceSwitchLevel, String) |
Output a trace event with a message.
| |
| TraceEvent(AFTraceSwitchLevel, String, Int32) |
Output a trace event with a message and a duration.
| |
| TraceEvent(AFTraceSwitchLevel, String, Object) |
Output a trace event as a formatted message with a variable number of arguments.
| |
| TraceInformation |
Output an information trace event.
| |
| TraceSummary |
Output a summary trace event.
| |
| TraceWarning |
Output a warning trace event.
| |
| UpdateResults |
Updates the notification results in this list.
|
Remarks
The content results are used to hold temporary information for the results of a notification
analysis and is not persisted to the server.