TcHmiSrvExtHost.send Method (Context, Message, EventLifetime)

Adds a Message.

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

Syntax

C#

public ErrorValue send(
    Context ctx,
    Message msg,
    EventLifetime lifetime
)

Parameters

ctx

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

msg

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

lifetime

Type: TcHmiSrv.EventLifetime
Specifies whether the Message is stored persistently.

Return Value

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

Implements

ITcHmiSrvExtHost.send(Context, Message, EventLifetime)

Reference

TcHmiSrvExtHost Class

send Overload

TcHmiSrv Namespace