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

TE2000 | HMI Engineering · 0 次阅读

ITcHmiSrvExtAsyncTimeoutHostGetRemoteRequestTimeoutAsync(CancellationToken) Method

Gets the TimeSpan 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<TimeSpan> GetRemoteRequestTimeoutAsync(
    CancellationToken cancellationToken
)

Parameters

cancellationToken  CancellationToken

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

Return Value

Task TimeSpan
A TaskTResult that represents the asynchronous operation. The Result property of the TaskTResult returns the remote request timeout.

Version Information

Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0