共用方式為


TestServer.IServer.StopAsync(CancellationToken) 方法

定義

 virtual System::Threading::Tasks::Task ^ Microsoft.AspNetCore.Hosting.Server.IServer.StopAsync(System::Threading::CancellationToken cancellationToken) = Microsoft::AspNetCore::Hosting::Server::IServer::StopAsync;
System.Threading.Tasks.Task IServer.StopAsync (System.Threading.CancellationToken cancellationToken);
abstract member Microsoft.AspNetCore.Hosting.Server.IServer.StopAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.Microsoft.AspNetCore.Hosting.Server.IServer.StopAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Function StopAsync (cancellationToken As CancellationToken) As Task Implements IServer.StopAsync

參數

cancellationToken
CancellationToken

傳回

實作

適用於