Compartilhar via


ControllerContext(String, String, String) Constructor

Definition

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

public:
 ControllerContext(System::String ^ name, System::String ^ displayName, System::String ^ connectionString);
public ControllerContext (string name, string displayName, string connectionString);
new Microsoft.VisualStudio.TestTools.Execution.ControllerContext : string * string * string -> Microsoft.VisualStudio.TestTools.Execution.ControllerContext
Public Sub New (name As String, displayName As String, connectionString As String)

Parameters

name
String

The fully qualified name of the controller.

displayName
String

The display name for the controller. Typically, this is the Domain Name Server (DNS) host name of the controller machine, excluding the domain suffix.

connectionString
String

The name of the controller. This includes the port number.

Applies to