ITcHmiSrvExtAsyncHostUnregisterListenerAsync Method

Unregisters the specified IListener at the TwinCAT HMI server as an asynchronous operation. All registered IListeners are unregistered automatically when the extension is shut down.


Namespace: TcHmiSrv.Core
Assembly: TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9

Syntax

C#

Task UnregisterListenerAsync(
    Context context,
    IListener handler
)

Parameters

context  Context

The Context under which the handler should be unregistered.

handler  IListener

The IListener that should be unregistered.

Return Value

Task
A Task that represents the asynchronous operation.

Version Information

Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0

Reference

ITcHmiSrvExtAsyncHost Interface TcHmiSrv.Core Namespace

Copyright © Beckhoff Automation GmbH & Co. KG