AgentContext Class
Encapsulates the context of the agent environment.
Assembly: Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
| Name | Description | |
|---|---|---|
![]() | AgentContext(String^, String^, String^, Boolean) | Initializes a new instance of the AgentContext class by using the provided parameters. |
| Name | Description | |
|---|---|---|
![]() | 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. |
| Name | Description | |
|---|---|---|
![]() ![]() | CreateForLocalAgent() | Returns a new AgentContext for a locally hosted agent. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



