TaskAgentHttpClient.SendMessageAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| SendMessageAsync(Int32, Int64, AgentJobRequestMessage, Object, CancellationToken) | |
| SendMessageAsync(Int32, Int64, JobCancelMessage, Object, CancellationToken) |
SendMessageAsync(Int32, Int64, AgentJobRequestMessage, Object, CancellationToken)
public System.Threading.Tasks.Task SendMessageAsync(int poolId, long requestId, Microsoft.TeamFoundation.DistributedTask.WebApi.AgentJobRequestMessage request, object userState = null, System.Threading.CancellationToken cancellationToken = null);
override this.SendMessageAsync : int * int64 * Microsoft.TeamFoundation.DistributedTask.WebApi.AgentJobRequestMessage * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
- poolId
- Int32
- requestId
- Int64
- request
- AgentJobRequestMessage
- userState
- Object
- cancellationToken
- CancellationToken
Returns
Applies to
SendMessageAsync(Int32, Int64, JobCancelMessage, Object, CancellationToken)
public System.Threading.Tasks.Task SendMessageAsync(int poolId, long requestId, Microsoft.TeamFoundation.DistributedTask.WebApi.JobCancelMessage cancel, object userState = null, System.Threading.CancellationToken cancellationToken = null);
override this.SendMessageAsync : int * int64 * Microsoft.TeamFoundation.DistributedTask.WebApi.JobCancelMessage * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
- poolId
- Int32
- requestId
- Int64
- cancel
- JobCancelMessage
- userState
- Object
- cancellationToken
- CancellationToken