TcHmiSrvExtHost.send Method (Context, Event, EventLifetime)

Adds or updates an Event.

Namespace:  TcHmiSrv
Assembly:  TcHmiSrvExtNet (in TcHmiSrvExtNet.dll) Version: 3.0.0.0

Syntax

C#

public ErrorValue send(
    Context ctx,
    Event evt,
    EventLifetime lifetime
)

Parameters

ctx

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

evt

Type: TcHmiSrv.Event
The Event that will be sent to the server and all current event listeners.

lifetime

Type: TcHmiSrv.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.

Implements

ITcHmiSrvExtHost.send(Context, Event, EventLifetime)

Reference

TcHmiSrvExtHost Class

send Overload

TcHmiSrv Namespace