Share via


AzureWebsiteApiBaseActivity<T>.GetApiTask Method

Namespace:  Microsoft.TeamFoundation.Deployment.Workflow.Activities
Assembly:  Microsoft.TeamFoundation.Deployment.Workflow (in Microsoft.TeamFoundation.Deployment.Workflow.dll)

Syntax

'Declaration
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
)
protected:
virtual Task<T>^ GetApiTask(
    AsyncCodeActivityContext^ context, 
    HttpClient^ client, 
    HttpRequestMessage^ message, 
    CancellationToken token
) abstract
abstract GetApiTask : 
        context:AsyncCodeActivityContext * 
        client:HttpClient * 
        message:HttpRequestMessage * 
        token:CancellationToken -> Task<'T> 
protected abstract function GetApiTask(
    context : AsyncCodeActivityContext, 
    client : HttpClient, 
    message : HttpRequestMessage, 
    token : CancellationToken
) : Task<T>

Parameters

Return Value

Type: System.Threading.Tasks.Task<T>

.NET Framework Security

See Also

Reference

AzureWebsiteApiBaseActivity<T> Class

Microsoft.TeamFoundation.Deployment.Workflow.Activities Namespace