TcHmiAsyncLogger.SendAsync Method (Context, Severity, String, .String.)

Sends a Message with the specified Context, name, Severity and parameters as an asynchronous operation.

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

Syntax

C#

public static Task<ErrorValue> SendAsync(
    Context context,
    Severity severity,
    string name,
    params string[] parameters
)

Parameters

context

Type: TcHmiSrv.Core.Context
The Context of the Message to send.

severity

Type: TcHmiSrv.Core.Severity
The Severity of the Message to send.

name

Type: System.String
The name of the Message to send.

parameters

Type: .System.String.
The parameters of the Message to send.

Return Value

Type: Task.ErrorValue.
The Task.TResult. returned by SendAsync(Context, Message).

Reference

TcHmiAsyncLogger Class

SendAsync Overload

TcHmiSrv.Core.General Namespace