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
- 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
AzureWebsiteApiBaseActivity<T> Class
Microsoft.TeamFoundation.Deployment.Workflow.Activities Namespace