TestServer.IServer.StartAsync<TContext> 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.
generic <typename TContext>
virtual System::Threading::Tasks::Task ^ Microsoft.AspNetCore.Hosting.Server.IServer.StartAsync(Microsoft::AspNetCore::Hosting::Server::IHttpApplication<TContext> ^ application, System::Threading::CancellationToken cancellationToken) = Microsoft::AspNetCore::Hosting::Server::IServer::StartAsync;
System.Threading.Tasks.Task IServer.StartAsync<TContext> (Microsoft.AspNetCore.Hosting.Server.IHttpApplication<TContext> application, System.Threading.CancellationToken cancellationToken);
abstract member Microsoft.AspNetCore.Hosting.Server.IServer.StartAsync : Microsoft.AspNetCore.Hosting.Server.IHttpApplication<'Context> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.Microsoft.AspNetCore.Hosting.Server.IServer.StartAsync : Microsoft.AspNetCore.Hosting.Server.IHttpApplication<'Context> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Function StartAsync(Of TContext) (application As IHttpApplication(Of TContext), cancellationToken As CancellationToken) As Task Implements IServer.StartAsync
Type Parameters
- TContext
Parameters
- application
- IHttpApplication<TContext>
- cancellationToken
- CancellationToken