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

AF SDK Reference

AFElementTemplate.CanBeAcknowledged Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFElementTemplate.CanBeAcknowledged Property
This property is the default value for the CanBeAcknowledged property of any new AFEventFrame created from this template.

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

Syntax

public bool CanBeAcknowledged { get; set; }
Public Property CanBeAcknowledged As Boolean
	Get
	Set

Dim instance As AFElementTemplate
Dim value As Boolean

value = instance.CanBeAcknowledged

instance.CanBeAcknowledged = value
public:
property bool CanBeAcknowledged {
	bool get ();
	void set (bool value);
}
member CanBeAcknowledged : bool with get, set

Property Value

Type: Boolean
The default value for the CanBeAcknowledged property of the AFEventFrame created from this template. The default value is .

Exceptions

ExceptionCondition
NotSupportedException This exception is thrown when the EventFrameAcknowledgement feature is not enabled on the PI AF Server.
InvalidOperationException This exception is thrown if the InstanceType is not set to AFEventFrame.

Remarks

When a new AFEventFrame is created from this template, the initial value of its CanBeAcknowledged property will be set to the value of this property. The value can then be changed in each Event Frame instance to indicate whether that event frame can be acknowledged. Future changes to this property value will not affect the setting in existing Event Frames.

Caution note Caution
This property can only be set for an AFEventFrameInstanceType. An InvalidOperationException will be thrown for any other InstanceType.

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.11, 2.10.5, 2.10.0, 2.10, 2.9.5, 2.9, 2.8.5, 2.8

See Also

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