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.
Returns a new AgentContext for a locally hosted agent.
Namespace: Microsoft.VisualStudio.TestTools.Execution
Assembly: Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
Syntax
'Declaration
Public Shared Function CreateForLocalAgent As AgentContext
public static AgentContext CreateForLocalAgent()
public:
static AgentContext^ CreateForLocalAgent()
static member CreateForLocalAgent : unit -> AgentContext
public static function CreateForLocalAgent() : AgentContext
Return Value
Type: Microsoft.VisualStudio.TestTools.Execution.AgentContext
A new AgentContext for a locally hosted agent.
.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.