ControllerContext Class

Definition

Represents the current context for a test controller.

public ref class ControllerContext
[System.Serializable]
public class ControllerContext
[<System.Serializable>]
type ControllerContext = class
Public Class ControllerContext
Inheritance
ControllerContext
Attributes

Constructors

ControllerContext(String, String, String)

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

Properties

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.

Methods

CreateForLocalController()

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

Applies to