TestServer.IServer.StartAsync<TContext> Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
Paramètres de type
- TContext
Paramètres
- application
- IHttpApplication<TContext>
- cancellationToken
- CancellationToken