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
- context
Type: System.Activities.AsyncCodeActivityContext
- token
Type: System.Threading.CancellationToken
Return Value
Type: System.Threading.Tasks.Task<T>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
AzureHttpClientAsyncCodeActivity<T> Class
Microsoft.TeamFoundation.Deployment.Workflow.Activities Namespace