TestServer.IServer.StartAsync<TContext> 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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
類型參數
- TContext
參數
- application
- IHttpApplication<TContext>
- cancellationToken
- CancellationToken