ITcHmiSrvExtAsyncTimeoutHostSetRemoteRequestTimeoutAsync(TimeSpan, CancellationToken) Method

Sets 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 SetRemoteRequestTimeoutAsync(
    TimeSpan timeout,
    CancellationToken cancellationToken
)

Parameters

timeout  TimeSpan

The remote request timeout.

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

Reference

ITcHmiSrvExtAsyncTimeoutHost Interface SetRemoteRequestTimeoutAsync Overload TcHmiSrv.Core Namespace

Copyright © Beckhoff Automation GmbH & Co. KG