TcHmiAsyncLoggerTryLocalizeAsync(ITcHmiSrvExtAsyncHost, Context, String, String) Method

Tries to localize 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: 3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9

Syntax

C#

public static Task<string> TryLocalizeAsync(
    ITcHmiSrvExtAsyncHost host,
    Context context,
    string name,
    params string[] parameters
)

Parameters

host  ITcHmiSrvExtAsyncHost

The ITcHmiSrvExtAsyncHost that is used to localize the Message.

context  Context

The Context of the Message to localize.

name  String

The name of the Message to localize.

parameters  String

The parameters of the Message to localize.

Return Value

Task String
A TaskTResult that represents the asynchronous operation. The Result of the TaskTResult returns the localized String.

Version Information

Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0

Reference

TcHmiAsyncLogger Class TryLocalizeAsync Overload TcHmiSrv.Core.General Namespace

Copyright © Beckhoff Automation GmbH & Co. KG