DataCollectionEnvironmentContext.CreateForLocalEnvironment Method
Returns a data collection environment context for a locally hosted agent and controller.
Namespace: Microsoft.VisualStudio.TestTools.Execution
Assembly: Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
Syntax
'Declaration
Public Shared Function CreateForLocalEnvironment As DataCollectionEnvironmentContext
public static DataCollectionEnvironmentContext CreateForLocalEnvironment()
public:
static DataCollectionEnvironmentContext^ CreateForLocalEnvironment()
static member CreateForLocalEnvironment : unit -> DataCollectionEnvironmentContext
public static function CreateForLocalEnvironment() : DataCollectionEnvironmentContext
Return Value
Type: Microsoft.VisualStudio.TestTools.Execution.DataCollectionEnvironmentContext
A data collection environment context.
.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.
See Also
Reference
DataCollectionEnvironmentContext Class