ITcHmiSrvExtAsyncHostSend(Context, Event, EventLifetime) Method

Adds or updates an Event.


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

Syntax

C#

ErrorValue Send(
    Context context,
    ref Event e,
    EventLifetime lifetime
)

Parameters

context  Context

The Context under which the e should be sent.

e  Event

The Event to send to the TwinCAT HMI server and all current IListeners. When this method returns, the Payload may have been localized if it can be converted to ILocalizable.

lifetime  EventLifetime

Specifies whether the Event is stored persistently.

Return Value

ErrorValue
HMI_SUCCESS if sending the Event succeeded; otherwise any ErrorValue that best describes which error has occurred.

Version Information

Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0

Reference

ITcHmiSrvExtAsyncHost Interface Send Overload TcHmiSrv.Core Namespace

Copyright © Beckhoff Automation GmbH & Co. KG