共用方式為


RestApiAsyncCodeActivity<T>.GetTask 方法

命名空間:  Microsoft.TeamFoundation.Deployment.Workflow.Activities
組件:  Microsoft.TeamFoundation.Deployment.Workflow (在 Microsoft.TeamFoundation.Deployment.Workflow.dll 中)

語法

'宣告
Protected MustOverride Function GetTask ( _
    context As AsyncCodeActivityContext, _
    token As CancellationToken _
) As Task(Of T)
protected abstract Task<T> GetTask(
    AsyncCodeActivityContext context,
    CancellationToken token
)

參數

傳回值

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

.NET Framework 安全性

請參閱

參考

RestApiAsyncCodeActivity<T> 類別

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