TaskExt Methods | 
The TaskExt type exposes the following members.
| Name | Description | |
|---|---|---|
| ForNoLongerThan | 
            Throw an exception if the task takes longer than the timeout.
              | |
| IfTimeout | 
            Add an action to be called if a task throws an exception due to a timeout.
              |