ITcHmiSrvExtHost.Send Method (Context., Event, EventLifetime)

Adds or updates an Event.

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

Syntax

C#

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

Parameters

context

Type: TcHmiSrv.Core.Context.
The Context under which the e should be sent.

e

Type: TcHmiSrv.Core.Event
The Event to send to the TwinCAT HMI server and all current IListeners.

lifetime

Type: TcHmiSrv.Core.EventLifetime
Specifies whether the Event is stored persistently.

Return Value

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

Reference

ITcHmiSrvExtHost Interface

Send Overload

TcHmiSrv.Core Namespace