ConfigListener Class

Represents a listener to interact with the configuration of the TwinCAT HMI server configuration. This class cannot be inherited.

Inheritance Hierarchy

System.Object
  TcHmiSrv.Core.Listeners.ConfigListener
Namespace:  TcHmiSrv.Core.Listeners
Assembly:  TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 1.3.0.0

Syntax

C#

public sealed class ConfigListener : IListener

The ConfigListener type exposes the following members.

Constructors

 

Name

Description

ConfigListener Class 1:

ConfigListener

Initializes a new instance of the ConfigListener class.

Properties

 

Name

Description

ConfigListener Class 2:

Type

Gets the type of the ConfigListener.

Methods

 

Name

Description

ConfigListener Class 3:

Equals

Determines whether the specified object is equal to the current object. (Inherited from Object.)

ConfigListener Class 4:

GetHashCode

Serves as the default hash function. (Inherited from Object.)

ConfigListener Class 5:

GetType

Gets the Type of the current instance. (Inherited from Object.)

ConfigListener Class 6:

ToString

Returns a string that represents the current object. (Inherited from Object.)

Events

 

Name

Description

ConfigListener Class 7:

BeforeChange

Called before a configuration Value is changed. If an Exception is thrown, the change will be aborted.For complex data, this method is called for each element.

ConfigListener Class 8:

BeforeDelete

Called before a configuration Value is deleted. If an Exception is thrown, the deletion will be aborted.

ConfigListener Class 9:

BeforeRename

Called before a configuration Value is renamed. If an Exception is thrown, renaming will be aborted.

ConfigListener Class 10:

OnChange

Called after a configuration Value has been successfully changed. For complex data, this method is called for each element.

ConfigListener Class 11:

OnDelete

Called after a configuration Value has been deleted. For complex data, this method is called for each element.

ConfigListener Class 12:

OnRename

Called after a configuration Value has been renamed.

Reference

TcHmiSrv.Core.Listeners Namespace