TestApplication.CreateServerModeBuilderAsync Method
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.
Creates a server mode builder asynchronously.
C#
public static System.Threading.Tasks.Task<Microsoft.Testing.Platform.Builder.ITestApplicationBuilder> CreateServerModeBuilderAsync (string[] args, Microsoft.Testing.Platform.Builder.TestApplicationOptions? testApplicationOptions = default);
static member CreateServerModeBuilderAsync : string[] * Microsoft.Testing.Platform.Builder.TestApplicationOptions -> System.Threading.Tasks.Task<Microsoft.Testing.Platform.Builder.ITestApplicationBuilder>
Public Shared Function CreateServerModeBuilderAsync (args As String(), Optional testApplicationOptions As TestApplicationOptions = Nothing) As Task(Of ITestApplicationBuilder)
- args
- String[]
The command line arguments.
- testApplicationOptions
- TestApplicationOptions
The test application options.
The task representing the asynchronous operation.
產品 | 版本 |
---|---|
Microsoft Testing Platform | 1.0.2, 1.1.0, 1.2.1, 1.3.2, 1.4.3, 1.5.3, 1.6.0 |