Share via


DataCollectionEnvironmentContext.CreateForLocalEnvironment Method

Include Protected Members
Include Inherited Members

Returns an environment context for a locally hosted agent and controller.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member CreateForLocalEnvironment() Returns a data collection environment context for a locally hosted agent and controller.
Public methodStatic member CreateForLocalEnvironment(DataCollectionContext) Returns a data collection environment context for a locally hosted agent and controller by using the provided session data collection context.

Top

See Also

Reference

DataCollectionEnvironmentContext Class

Microsoft.VisualStudio.TestTools.Execution Namespace