共用方式為


AzureWebsiteApiBaseActivity<T>.GetApiTask 方法

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

語法

'宣告
Protected MustOverride Function GetApiTask ( _
    context As AsyncCodeActivityContext, _
    client As HttpClient, _
    message As HttpRequestMessage, _
    token As CancellationToken _
) As Task(Of T)
protected abstract Task<T> GetApiTask(
    AsyncCodeActivityContext context,
    HttpClient client,
    HttpRequestMessage message,
    CancellationToken token
)

參數

傳回值

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

.NET Framework 安全性

請參閱

參考

AzureWebsiteApiBaseActivity<T> 類別

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