Edit

TestHttpClient.CreateAgentAsync(TestAgent) Method

Definition

Sends REST based msg to Server for creating new entry of Test Agent. This API can be consumed in Registration Process.

public System.Threading.Tasks.Task<Microsoft.TeamFoundation.Test.WebApi.TestAgent> CreateAgentAsync(Microsoft.TeamFoundation.Test.WebApi.TestAgent testAgent);
abstract member CreateAgentAsync : Microsoft.TeamFoundation.Test.WebApi.TestAgent -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Test.WebApi.TestAgent>
override this.CreateAgentAsync : Microsoft.TeamFoundation.Test.WebApi.TestAgent -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Test.WebApi.TestAgent>

Parameters

testAgent
TestAgent

TestAgent object

Returns

TestAgent Object

Implements

Applies to