DataCollectionEnvironmentContext.CreateForLocalEnvironment Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreateForLocalEnvironment() |
Returns a data collection environment context for a locally hosted agent and controller. |
CreateForLocalEnvironment(DataCollectionContext) |
Returns a data collection environment context for a locally hosted agent and controller by using the provided session data collection context. |
CreateForLocalEnvironment()
Returns a data collection environment context for a locally hosted agent and controller.
public:
static Microsoft::VisualStudio::TestTools::Execution::DataCollectionEnvironmentContext ^ CreateForLocalEnvironment();
public static Microsoft.VisualStudio.TestTools.Execution.DataCollectionEnvironmentContext CreateForLocalEnvironment ();
static member CreateForLocalEnvironment : unit -> Microsoft.VisualStudio.TestTools.Execution.DataCollectionEnvironmentContext
Public Shared Function CreateForLocalEnvironment () As DataCollectionEnvironmentContext
Returns
A data collection environment context.
Applies to
CreateForLocalEnvironment(DataCollectionContext)
Returns a data collection environment context for a locally hosted agent and controller by using the provided session data collection context.
public:
static Microsoft::VisualStudio::TestTools::Execution::DataCollectionEnvironmentContext ^ CreateForLocalEnvironment(Microsoft::VisualStudio::TestTools::Execution::DataCollectionContext ^ sessionDataCollectionContext);
public static Microsoft.VisualStudio.TestTools.Execution.DataCollectionEnvironmentContext CreateForLocalEnvironment (Microsoft.VisualStudio.TestTools.Execution.DataCollectionContext sessionDataCollectionContext);
static member CreateForLocalEnvironment : Microsoft.VisualStudio.TestTools.Execution.DataCollectionContext -> Microsoft.VisualStudio.TestTools.Execution.DataCollectionEnvironmentContext
Public Shared Function CreateForLocalEnvironment (sessionDataCollectionContext As DataCollectionContext) As DataCollectionEnvironmentContext
Parameters
- sessionDataCollectionContext
- DataCollectionContext
A DataCollectionContext object.
Returns
A data collection environment context for a locally hosted agent and controller.