ITcHmiSrvExtAsyncDebugHostWaitForDebuggerAsync(CancellationToken) Method

Waits for a debugger to be attached to the current process as an asynchronous operation.


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

Syntax

C#

Task<bool> WaitForDebuggerAsync(
    CancellationToken cancellationToken
)

Parameters

cancellationToken  CancellationToken

A CancellationToken that propagates the notification that waiting for a debugger to be attached to the current process should be canceled.

Return Value

Task Boolean
A TaskTResult that represents the asynchronous operation. The Result property of the TaskTResult returns a value that indicates whether a debugger was attached to the current process.

Version Information

Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0

Reference

ITcHmiSrvExtAsyncDebugHost Interface WaitForDebuggerAsync Overload TcHmiSrv.Core Namespace

Copyright © Beckhoff Automation GmbH & Co. KG