AzureWebsiteApiBaseActivity<T>.GetApiTask Method
Namespace: Microsoft.TeamFoundation.Deployment.Workflow.Activities
Assembly: Microsoft.TeamFoundation.Deployment.Workflow (in Microsoft.TeamFoundation.Deployment.Workflow.dll)
Syntax
'Declaration
Protected MustOverride Function GetApiTask ( _
context As AsyncCodeActivityContext, _
client As HttpClient, _
message As HttpRequestMessage, _
token As CancellationToken _
) As Task(Of T)
protected abstract Task<T> GetApiTask(
AsyncCodeActivityContext context,
HttpClient client,
HttpRequestMessage message,
CancellationToken token
)
protected:
virtual Task<T>^ GetApiTask(
AsyncCodeActivityContext^ context,
HttpClient^ client,
HttpRequestMessage^ message,
CancellationToken token
) abstract
abstract GetApiTask :
context:AsyncCodeActivityContext *
client:HttpClient *
message:HttpRequestMessage *
token:CancellationToken -> Task<'T>
protected abstract function GetApiTask(
context : AsyncCodeActivityContext,
client : HttpClient,
message : HttpRequestMessage,
token : CancellationToken
) : Task<T>
Parameters
- context
Type: System.Activities.AsyncCodeActivityContext
- client
Type: System.Net.Http.HttpClient
- message
Type: System.Net.Http.HttpRequestMessage
- 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