AzureWebsiteApiBaseActivity<T>.GetTask 方法

此成员重写 RestApiAsyncCodeActivity<T>.GetTask(AsyncCodeActivityContext, CancellationToken)

命名空间:  Microsoft.TeamFoundation.Deployment.Workflow.Activities
程序集:  Microsoft.TeamFoundation.Deployment.Workflow(在 Microsoft.TeamFoundation.Deployment.Workflow.dll 中)

语法

声明
Protected Overrides NotOverridable Function GetTask ( _
    context As AsyncCodeActivityContext, _
    token As CancellationToken _
) As Task(Of T)
protected override sealed Task<T> GetTask(
    AsyncCodeActivityContext context,
    CancellationToken token
)

参数

返回值

类型:System.Threading.Tasks.Task<T>

.NET Framework 安全性

请参阅

参考

AzureWebsiteApiBaseActivity<T> 类

Microsoft.TeamFoundation.Deployment.Workflow.Activities 命名空间