Partager via


ControllerContext.CreateForLocalController Method

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

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

Syntax

'Declaration
Public Shared Function CreateForLocalController As ControllerContext
public static ControllerContext CreateForLocalController()
public:
static ControllerContext^ CreateForLocalController()
static member CreateForLocalController : unit -> ControllerContext
public static function CreateForLocalController() : ControllerContext

Return Value

Type: Microsoft.VisualStudio.TestTools.Execution.ControllerContext
A new instance of this ControllerContext class.

.NET Framework Security

See Also

Reference

ControllerContext Class

Microsoft.VisualStudio.TestTools.Execution Namespace