STATestMethodAttribute.ExecuteCoreAsync(ITestMethod) 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.
The core execution of STA test method, which happens on the STA thread.
protected virtual System.Threading.Tasks.Task<Microsoft.VisualStudio.TestTools.UnitTesting.TestResult[]> ExecuteCoreAsync(Microsoft.VisualStudio.TestTools.UnitTesting.ITestMethod testMethod);
abstract member ExecuteCoreAsync : Microsoft.VisualStudio.TestTools.UnitTesting.ITestMethod -> System.Threading.Tasks.Task<Microsoft.VisualStudio.TestTools.UnitTesting.TestResult[]>
override this.ExecuteCoreAsync : Microsoft.VisualStudio.TestTools.UnitTesting.ITestMethod -> System.Threading.Tasks.Task<Microsoft.VisualStudio.TestTools.UnitTesting.TestResult[]>
Protected Overridable Function ExecuteCoreAsync (testMethod As ITestMethod) As Task(Of TestResult())
Parameters
- testMethod
- ITestMethod
The test method to execute.
Returns
The test results of the test method.