TaskExtensions Class

TaskExtensions for Task Cancellation and Timeout

Inheritance Hierarchy

System.Object
  TwinCAT.Ads.TaskExtensions
Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

Syntax

C#

public static class TaskExtensions

The TaskExtensions type exposes the following members.

Methods

 

Name

Description

TaskExtensions Class 1:

TaskExtensions Class 2:

WithCancellation.T.

Extends a worker Task with cancellation.

TaskExtensions Class 3:

TaskExtensions Class 4:

WithCancellationAndTimeout

Extends a worker task with timeout and Cancellation

TaskExtensions Class 5:

TaskExtensions Class 6:

WithTimeout

Extends a worker task with a timeout.

Reference

TwinCAT.Ads Namespace