TestExtensionExecution.CreateTestMethodInvoker Method
Creates the Test Method Invoker.
Namespace: Microsoft.VisualStudio.TestTools.UnitTesting
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
Syntax
'Declaration
Public MustOverride Function CreateTestMethodInvoker ( _
context As TestMethodInvokerContext _
) As ITestMethodInvoker
public abstract ITestMethodInvoker CreateTestMethodInvoker(
TestMethodInvokerContext context
)
public:
virtual ITestMethodInvoker^ CreateTestMethodInvoker(
TestMethodInvokerContext^ context
) abstract
abstract CreateTestMethodInvoker :
context:TestMethodInvokerContext -> ITestMethodInvoker
public abstract function CreateTestMethodInvoker(
context : TestMethodInvokerContext
) : ITestMethodInvoker
Parameters
- context
Type: Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodInvokerContext
The context.
Return Value
Type: Microsoft.VisualStudio.TestTools.UnitTesting.ITestMethodInvoker
Returns the test method invoker as defined by the ITestMethodInvoker interface.
.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.