Infosys在阅读器中打开 / AI 翻译

TE2000 | HMI Engineering · 0 次阅读

ITcHmiSrvExtAsyncTimeoutHostSetRemoteRequestTimeoutAsync(Int32, CancellationToken) Method

Sets the number of milliseconds that the remote TwinCAT HMI server waits for requests sent to the TwinCAT HMI extension container to complete as an asynchronous operation.


Namespace: TcHmiSrv.Core
Assembly: TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9

Syntax

C#

Task SetRemoteRequestTimeoutAsync(
    int millisecondsTimeout,
    CancellationToken cancellationToken
)

Parameters

millisecondsTimeout  Int32

The number of milliseconds that the remote TwinCAT HMI server waits for requests sent to the TwinCAT HMI extension container to complete.

cancellationToken  CancellationToken

A CancellationToken that propagates the notification that setting the remote request timeout should be canceled.

Return Value

Task
A TaskTResult that represents the asynchronous operation.

Version Information

Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0