TestAutomationEssentials.MSTest.ExecutionContext.TestExecutionScopesManager.TestExecutionScopesManager C# (CSharp) Method

TestExecutionScopesManager() public method

Initializes a new TestExecutionScopesManager object, with one (default) isolation scope
public TestExecutionScopesManager ( string name, Action initialize ) : System
name string The name of the isolation scope
initialize Action A delegate to an action that is performed on initialization. If an exception occurs inside this /// method, then the scope is automatically destroyed, calling any cleanup actions that were added during this method
return System
        public TestExecutionScopesManager(string name, Action<IIsolationScope> initialize)
        {
            BeginIsolationScope(name, initialize);
        }