共用方式為


AzureHttpClientAsyncCodeActivity<T>.GetTask 方法

這個成員會覆寫 RestApiAsyncCodeActivity<T>.GetTask(AsyncCodeActivityContext, CancellationToken)

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

語法

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

參數

傳回值

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

.NET Framework 安全性

請參閱

參考

AzureHttpClientAsyncCodeActivity<T> 類別

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