ITcHmiSrvExtAsyncHostRegisterListenerAsync(Context, String, IListener, Value) Method
Registers the specified IListener at the TwinCAT HMI server for the specified domain using the specified settings as an asynchronous operation.
Namespace: TcHmiSrv.Core
Assembly: TcHmiSrvExtNet.Core (in
TcHmiSrvExtNet.Core.dll) Version:
3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9
Syntax
C#
Task<ErrorValue> RegisterListenerAsync(
Context context,
string domain,
IListener handler,
Value settings
)Parameters
|
context Context |
The Context under which the handler should be registered. |
|
domain String |
The domain for which the handler that should be registered. |
|
handler IListener |
The IListener that should be registered at the TwinCAT HMI server. |
|
settings Value |
A Value that contains the settings to use for registration. |
Return Value
Task
ErrorValue
A TaskTResult
that represents the asynchronous operation. The Result of the
TaskTResult
returns HMI_SUCCESS if
registering handler succeeded;
otherwise, any ErrorValue that best
describes which error has occurred.
Version Information
Supported in: 3.1.7447.0, 2.3.7447.0
Reference
ITcHmiSrvExtAsyncHost Interface RegisterListenerAsync Overload TcHmiSrv.Core Namespace
Copyright © Beckhoff Automation GmbH & Co. KG