ITestHostProcessLifetimeHandler.BeforeTestHostProcessStartAsync 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.
Executes before the test host process starts.
public System.Threading.Tasks.Task BeforeTestHostProcessStartAsync(System.Threading.CancellationToken cancellationToken);
abstract member BeforeTestHostProcessStartAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function BeforeTestHostProcessStartAsync (cancellationToken As CancellationToken) As Task
Parameters
- cancellationToken
- CancellationToken
The cancellation token.
Returns
A task representing the asynchronous operation.