Freigeben über


RestApiAsyncCodeActivity<T>.GetTask-Methode

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

Syntax

'Declaration
Protected MustOverride Function GetTask ( _
    context As AsyncCodeActivityContext, _
    token As CancellationToken _
) As Task(Of T)
protected abstract Task<T> GetTask(
    AsyncCodeActivityContext context,
    CancellationToken token
)

Parameter

Rückgabewert

Typ: System.Threading.Tasks.Task<T>
Gibt Task<TResult> zurück.

.NET Framework-Sicherheit

Siehe auch

Referenz

RestApiAsyncCodeActivity<T> Klasse

Microsoft.TeamFoundation.Deployment.Workflow.Activities-Namespace