次の方法で共有


AzureHttpClientAsyncCodeActivity<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 Function GetTask ( _
    context As AsyncCodeActivityContext, _
    token As CancellationToken _
) As Task(Of T)
protected override Task<T> GetTask(
    AsyncCodeActivityContext context,
    CancellationToken token
)
protected:
virtual Task<T>^ GetTask(
    AsyncCodeActivityContext^ context, 
    CancellationToken token
) override
abstract GetTask : 
        context:AsyncCodeActivityContext * 
        token:CancellationToken -> Task<'T> 
override GetTask : 
        context:AsyncCodeActivityContext * 
        token:CancellationToken -> Task<'T> 
protected override function GetTask(
    context : AsyncCodeActivityContext, 
    token : CancellationToken
) : Task<T>

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

AzureHttpClientAsyncCodeActivity<T> Class

Microsoft.TeamFoundation.Deployment.Workflow.Activities Namespace