AgentContext Class
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.
Encapsulates the context of the agent environment.
public ref class AgentContext
[System.Serializable]
public class AgentContext
[<System.Serializable>]
type AgentContext = class
Public Class AgentContext
- Inheritance
-
AgentContext
- Attributes
Constructors
AgentContext(String, String, String, Boolean) |
Initializes a new instance of the AgentContext class by using the provided parameters. |
Properties
ConnectionString |
Gets the machine name of the agent and the port on which it listens for incoming connections. |
DisplayName |
Gets or sets the display name of the agent, which is unique throughout an environment. |
IsRemote |
Gets a value that indicates whether this agent context is executed remotely. |
Name |
Gets or sets the fully qualified name of the agent as registered with the test controller. |
Methods
CreateForLocalAgent() |
Returns a new AgentContext for a locally hosted agent. |