ITestHttpClient.GetCommandAsync 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.
Gets test message that is in queue after lastCommandId.
public System.Threading.Tasks.Task<Microsoft.TeamFoundation.Test.WebApi.TestExecutionServiceCommand> GetCommandAsync(int testAgentId, Nullable<long> lastCommandId = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetCommandAsync : int * Nullable<int64> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Test.WebApi.TestExecutionServiceCommand>
Parameters
- testAgentId
- Int32
The test agent which calls this api.
- cancellationToken
- CancellationToken