Freigeben über


AzureWebsiteApiBaseActivity<T>.GetTask Method

This member overrides RestApiAsyncCodeActivity<T>.GetTask(AsyncCodeActivityContext, CancellationToken).

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

Syntax

'Declaration
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
)
protected:
virtual Task<T>^ GetTask(
    AsyncCodeActivityContext^ context, 
    CancellationToken token
) override sealed
abstract GetTask : 
        context:AsyncCodeActivityContext * 
        token:CancellationToken -> Task<'T> 
override GetTask : 
        context:AsyncCodeActivityContext * 
        token:CancellationToken -> Task<'T> 
protected override final function GetTask(
    context : AsyncCodeActivityContext, 
    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