TcHmiAsyncLogger.LocalizeAsync Method (ITcHmiSrvExtAsyncHost, Context, String, .String.)

Localizes a Message with the specified ITcHmiSrvExtAsyncHost, Context, name 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<string> LocalizeAsync(
    ITcHmiSrvExtAsyncHost host,
    Context context,
    string name,
    params string[] parameters
)

Parameters

host

Type: TcHmiSrv.Core.ITcHmiSrvExtAsyncHost
The ITcHmiSrvExtAsyncHost that is used to localize the Message.

context

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

name

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

parameters

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

Return Value

Type: Task.String.
A Task.TResult. that represents the asynchronous operation. The Result of the Task.TResult. returns the localized String.

Reference

TcHmiAsyncLogger Class

LocalizeAsync Overload

TcHmiSrv.Core.General Namespace