次の方法で共有


HostingAbstractionsWebHostBuilderExtensions.UseServer メソッド

定義

Web ホストで使用するサーバーを指定します。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ UseServer(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ hostBuilder, Microsoft::AspNetCore::Hosting::Server::IServer ^ server);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseServer (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, Microsoft.AspNetCore.Hosting.Server.IServer server);
static member UseServer : Microsoft.AspNetCore.Hosting.IWebHostBuilder * Microsoft.AspNetCore.Hosting.Server.IServer -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseServer (hostBuilder As IWebHostBuilder, server As IServer) As IWebHostBuilder

パラメーター

hostBuilder
IWebHostBuilder

構成する IWebHostBuilder

server
IServer

使用する IServer

戻り値

IWebHostBuilder

適用対象