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

AF SDK Reference

AFNotificationContactTemplate Constructor (PISystem, String)

AFNotificationContactTemplate Constructor (PISystem, String)

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFNotificationContactTemplate Constructor (PISystem, String)
Initializes a new instance of the class with the specified name.

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

Syntax

public AFNotificationContactTemplate(
	PISystem system,
	string name
)
Public Sub New ( 
	system As PISystem,
	name As String
)

Dim system As PISystem
Dim name As String

Dim instance As New AFNotificationContactTemplate(system, 
	name)
public:
AFNotificationContactTemplate(
	PISystem^ system, 
	String^ name
)
new : 
        system : PISystem * 
        name : string -> AFNotificationContactTemplate

Parameters

system
Type: OSIsoft.AFPISystem
The PISystem that owns the newly created AFNotificationContactTemplate.
name
Type: SystemString
The name of the newly created instance of the class. See the ValidateName(String, String) method for a description of what is valid when setting the name of the object.

Remarks

The instance of the class created using this constructor does not belong to any collection. To add the object to a collection, use the collection's Add method.

Remarks

The new instance is associated with the specified PISystem and does not need to be added to the PISystem.NotificationContactTemplates collection.

This constructor is used to create notification contact templates of type Group or Escalation since these types are not associated with an AFContact.

Version Information

AFSDK


See Also

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