ITcHmiSrvExtAsyncHost.RegisterListenerAsync Method (Context, IListener, Value)

Registers the specified IListener at the TwinCAT HMI server using the specified settings as an asynchronous operation.

Namespace:  TcHmiSrv.Core
Assembly:  TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 1.3.0.0

Syntax

C#

Task RegisterListenerAsync(
    Context context,
    IListener handler,
    Value settings
)

Parameters

context

Type: TcHmiSrv.Core.Context
The Context under which the handler should be registered.

handler

Type: TcHmiSrv.Core.Listeners.IListener
The IListener that should be registered at the TwinCAT HMI server.

settings

Type: TcHmiSrv.Core.Value
An Value that contains the settings to use for registration.

Return Value

Type: Task
A Task that represents the asynchronous operation.

Reference

ITcHmiSrvExtAsyncHost Interface

RegisterListenerAsync Overload

TcHmiSrv.Core Namespace