Click or drag to resize
TaskExtensions Class
Inheritance Hierarchy
SystemObject
  CodeTiger.Threading.TasksTaskExtensions

Namespace: CodeTiger.Threading.Tasks
Assembly: CodeTiger.Core (in CodeTiger.Core.dll) Version: 1.0.0.0
Syntax
public static class TaskExtensions
Methods
  NameDescription
Public methodStatic memberWithTimeout(Task, Int32)
Wraps a Task with a new Task which will throw a TimeoutException if the original Task takes longer than a specified number of milliseconds to complete.
Public methodStatic memberWithTimeout(Task, TimeSpan)
Wraps a Task with a new Task which will throw a TimeoutException if the original Task takes longer than a specified amount of time to complete.
Public methodStatic memberWithTimeoutTResult(TaskTResult, Int32)
Public methodStatic memberWithTimeoutTResult(TaskTResult, TimeSpan)
Top
See Also