TcHmiSrvConfigListener Class

Provides a listener to interact with the configuration of the TwinCAT HMI server configuration.

Inheritance Hierarchy

System.Object
  TcHmiSrv.TcHmiSrvListener
    TcHmiSrv.TcHmiSrvConfigListenerBase
      TcHmiSrv.TcHmiSrvConfigListener
Namespace:  TcHmiSrv
Assembly:  TcHmiSrvExtNet (in TcHmiSrvExtNet.dll) Version: 3.0.0.0

Syntax

C#

public class TcHmiSrvConfigListener : TcHmiSrvConfigListenerBase, 
    IExternalCaller<string>

The TcHmiSrvConfigListener type exposes the following members.

Constructors

 

Name

Description

TcHmiSrvConfigListener Class 1:

TcHmiSrvConfigListener

Initializes a new instance of the TcHmiSrvConfigListener class

Properties

 

Name

Description

TcHmiSrvConfigListener Class 2:

Type

(Inherited from TcHmiSrvListener.)

Methods

 

Name

Description

TcHmiSrvConfigListener Class 3:

Dispose.

(Inherited from TcHmiSrvListener.)

TcHmiSrvConfigListener Class 4:

Dispose(Boolean)

(Inherited from TcHmiSrvConfigListenerBase.)

TcHmiSrvConfigListener Class 5:

Equals

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

TcHmiSrvConfigListener Class 6:

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

TcHmiSrvConfigListener Class 7:

GetHashCode

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

TcHmiSrvConfigListener Class 8:

GetType

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

TcHmiSrvConfigListener Class 9:

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

TcHmiSrvConfigListener Class 10:

ToString

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

Events

 

Name

Description

TcHmiSrvConfigListener Class 11:

BeforeChange

Called before a configuration Value is changed.
If the returned value does not equal HMI_SUCCESS, the change will be aborted.
This method is also called for all parent elements in the path of the changed configuration Value.

TcHmiSrvConfigListener Class 12:

BeforeDelete

Called before a configuration Value is deleted.
If the returned value does not equal HMI_SUCCESS, the deletion will be aborted.

TcHmiSrvConfigListener Class 13:

BeforeRename

Called before a configuration Value is renamed.
If the returned value does not equal HMI_SUCCESS, renaming will be aborted.

TcHmiSrvConfigListener Class 14:

OnChange

Called after a configuration Value has been successfully changed.
This method is also called for all parent elements in the path of the changed configuration Value.

TcHmiSrvConfigListener Class 15:

OnDelete

Called after a configuration Value has been deleted.
This method is also called for all parent elements in the path of the deleted configuration Value.

TcHmiSrvConfigListener Class 16:

OnRename

Called after a configuration Value has been renamed.

Reference

TcHmiSrv Namespace