WebApplication.StartAsync(CancellationToken) 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.
Start the application.
public System.Threading.Tasks.Task StartAsync(System.Threading.CancellationToken cancellationToken = default);abstract member StartAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.StartAsync : System.Threading.CancellationToken -> System.Threading.Tasks.TaskPublic Function StartAsync (Optional cancellationToken As CancellationToken = Nothing) As TaskParameters
- cancellationToken
- CancellationToken
Returns
A Task that represents the startup of the WebApplication. Successful completion indicates the HTTP server is ready to accept new requests.