Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AgentContext Constructor (String^, String^, String^, Boolean)

 

Initializes a new instance of the AgentContext class by using the provided parameters.

Namespace:   Microsoft.VisualStudio.TestTools.Execution
Assembly:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

public:
AgentContext(
	String^ agentName,
	String^ agentDisplayName,
	String^ agentConnectionString,
	bool isRemote
)

Parameters

agentName
Type: System::String^

The name of the agent.

agentDisplayName
Type: System::String^

The display name for the agent.

agentConnectionString
Type: System::String^

The machine name of the agent and the port on which it listens for incoming connections.

isRemote
Type: System::Boolean

true if the agent is accessed remotely; otherwise, false.

Return to top
Show: