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.

ControllerContext Class

 

Represents the current context for a test controller.

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

System.Object
  Microsoft.VisualStudio.TestTools.Execution.ControllerContext

[SerializableAttribute]
public class ControllerContext

NameDescription
System_CAPS_pubmethodControllerContext(String, String, String)

Initializes a new instance of the ControllerContext class by using the provided name, display name, and connection string.

NameDescription
System_CAPS_pubpropertyConnectionString

Gets the name of the controller. This includes the port number. The set accessor is for internal use only.

System_CAPS_pubpropertyDisplayName

Gets the display name for the controller. The set accessor is for internal use only.

System_CAPS_pubpropertyName

Gets the fully qualified name of the controller. The set accessor is for internal use only.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreateForLocalController()

Creates a new controller context that is initialized for a locally hosted controller.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(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.

Return to top
Show: