Edit

ITestHttpClient.GetCommandAsync Method

Definition

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.

lastCommandId
Nullable<Int64>

The last command Id which agent has already read.

cancellationToken
CancellationToken

Returns

Applies to