ITcHmiSrvExtAsyncHost.SetConfigValueAsync Method
Adds a Value to a map or vector in the configuration of the TwinCAT HMI server extension or updates an existing configuration Value as an asynchronous operation.
Namespace: TcHmiSrv.Core
Assembly: TcHmiSrvExtNet.Core (in
TcHmiSrvExtNet.Core.dll) Version: 1.3.0.0
Syntax
C#
Task<ErrorValue> SetConfigValueAsync(
Context context,
string path,
Value value
)
Parameters
context |
Type: TcHmiSrv.Core.Context |
path |
Type: System.String |
value |
Type: TcHmiSrv.Core.Value |
Return Value
Type: Task.ErrorValue.
A Task.TResult. that represents the asynchronous operation. The
Result of the Task.TResult. returns HMI_SUCCESS if
setting the configuration Value succeeded;
otherwise, any ErrorValue that best
describes which error has occurred.