ControllerContext Class
Represents the current context for a test controller.
Assembly: Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
| Name | Description | |
|---|---|---|
![]() | ControllerContext(String^, String^, String^) | Initializes a new instance of the ControllerContext class by using the provided name, display name, and connection string. |
| Name | Description | |
|---|---|---|
![]() | ConnectionString | Gets the name of the controller. This includes the port number. The set accessor is for internal use only. |
![]() | DisplayName | Gets the display name for the controller. The set accessor is for internal use only. |
![]() | Name | Gets the fully qualified name of the controller. The set accessor is for internal use only. |
| Name | Description | |
|---|---|---|
![]() ![]() | CreateForLocalController() | Creates a new controller context that is initialized for a locally hosted controller. |
![]() | 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.) |
Although public, this ControllerContext class is created internally by the testing framework and can be used in unit testing your custom diagnostic data adapter.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



