Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.