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

AF SDK Reference

AFNotificationContact.FindNotificationContact Method (AFNotification, Guid, Guid)

AFNotificationContact.FindNotificationContact Method (AFNotification, Guid, Guid)

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFNotificationContact.FindNotificationContact Method (AFNotification, Guid, Guid)
Retrieves the AFNotificationContact object with the specified unique identifier and parent unique identifier within the AFNotification.

Namespace:  OSIsoft.AF.Notification
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public static AFNotificationContact FindNotificationContact(
	AFNotification notification,
	Guid id,
	Guid parentID
)
Public Shared Function FindNotificationContact ( 
	notification As AFNotification,
	id As Guid,
	parentID As Guid
) As AFNotificationContact

Dim notification As AFNotification
Dim id As Guid
Dim parentID As Guid
Dim returnValue As AFNotificationContact

returnValue = AFNotificationContact.FindNotificationContact(notification, 
	id, parentID)
public:
static AFNotificationContact^ FindNotificationContact(
	AFNotification^ notification, 
	Guid id, 
	Guid parentID
)
static member FindNotificationContact : 
        notification : AFNotification * 
        id : Guid * 
        parentID : Guid -> AFNotificationContact 

Parameters

notification
Type: OSIsoft.AF.NotificationAFNotification
The AFNotification to search for the AFNotificationContact identified by the specified id parameter.
id
Type: SystemGuid
The unique identifier of the AFNotificationContact to search for in the specified notification.
parentID
Type: SystemGuid
The unique identifier of the parent AFNotificationContact of the AFNotificationContact identified by the id parameter. If the AFNotificationContact is not owned by another AFNotificationContact (i.e. owned by the AFNotification), then the value of this parameter should be Guid.Empty.

Return Value

Type: AFNotificationContact
Returns the AFNotificationContact identified by the id in the specified notification.

Remarks

The AFNotificationContact of the specified notification is returned. This method is more efficient if the parent unique identifier is also known.

Version Information

AFSDK


See Also

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