다음을 통해 공유


HostingAbstractionsWebHostBuilderExtensions.UseUrls 메서드

정의

웹 호스트가 수신 대기할 URL을 지정합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ UseUrls(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ hostBuilder, ... cli::array <System::String ^> ^ urls);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseUrls (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, params string[] urls);
static member UseUrls : Microsoft.AspNetCore.Hosting.IWebHostBuilder * string[] -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseUrls (hostBuilder As IWebHostBuilder, ParamArray urls As String()) As IWebHostBuilder

매개 변수

hostBuilder
IWebHostBuilder

구성할 IWebHostBuilder입니다.

urls
String[]

호스트된 애플리케이션이 수신 대기할 URL입니다.

반환

IWebHostBuilder

적용 대상