共用方式為


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 命名空間