继承层次结构
System.Object
Microsoft.TeamFoundation.Threading.TaskCancellationHelper
命名空间: Microsoft.TeamFoundation.Threading
程序集: Microsoft.TeamFoundation.Controls(在 Microsoft.TeamFoundation.Controls.dll 中)
语法
声明
<ExtensionAttribute> _
Public NotInheritable Class TaskCancellationHelper
public static class TaskCancellationHelper
TaskCancellationHelper 类型公开以下成员。
方法
名称 | 说明 | |
---|---|---|
![]() ![]() |
FireAndForget(Func<Task>) | |
![]() ![]() |
FireAndForget(Task) | |
![]() ![]() |
FireAndForget<T>(Func<T, Task>, T) | |
![]() ![]() |
RemoveCancellationExceptions |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。