QuickOPC User's Guide and Reference
ActiveChanged Property (EasyAENotificationEventArgs)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.AlarmsAndEvents.OperationModel Namespace > EasyAENotificationEventArgs Class : ActiveChanged Property
Indicates to the application that the Active state of the condition has changed.
Syntax
'Declaration
 
<DefaultValueAttribute(False)>
Public Property ActiveChanged As Boolean
'Usage
 
Dim instance As EasyAENotificationEventArgs
Dim value As Boolean
 
instance.ActiveChanged = value
 
value = instance.ActiveChanged
[DefaultValue(false)]
public bool ActiveChanged {get; set;}
[DefaultValue(false)]
public:
property bool ActiveChanged {
   bool get();
   void set (    bool value);
}
Remarks

This property is used only for Condition-Related Events (see EventType).

If the event notification is the result of a Refresh, the value of this property should be ignored.

This property will be always True for a "new event". (A "new event" is any event resulting from the related condition leaving the Inactive and Acknowledged state.)

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also