ITcHmiSrvExtAsyncHost.SendAsync Method (Context, Message, EventLifetime)
Adds a Message as an asynchronous operation.
Namespace: TcHmiSrv.Core
Assembly: TcHmiSrvExtNet.Core (in
TcHmiSrvExtNet.Core.dll) Version: 1.3.0.0
Syntax
C#
Task<ErrorValue> SendAsync(
Context context,
Message message,
EventLifetime lifetime
)
Parameters
context |
Type: TcHmiSrv.Core.Context |
message |
Type: TcHmiSrv.Core.Message |
lifetime |
Type: TcHmiSrv.Core.EventLifetime |
Return Value
Type: Task.ErrorValue.
A Task.TResult. that represents the asynchronous operation. The
Result of the Task.TResult. returns HMI_SUCCESS if
sending the Message succeeded;
otherwise any ErrorValue that best
describes which error has occurred.