다음을 통해 공유


HostingAbstractionsWebHostBuilderExtensions.UseStartup 메서드

정의

웹 호스트에서 사용할 시작 형식이 포함된 어셈블리를 지정합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ UseStartup(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ hostBuilder, System::String ^ startupAssemblyName);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseStartup (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, string startupAssemblyName);
static member UseStartup : Microsoft.AspNetCore.Hosting.IWebHostBuilder * string -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseStartup (hostBuilder As IWebHostBuilder, startupAssemblyName As String) As IWebHostBuilder

매개 변수

hostBuilder
IWebHostBuilder

구성할 IWebHostBuilder입니다.

startupAssemblyName
String

시작 형식을 포함하는 어셈블리의 이름입니다.

반환

IWebHostBuilder

적용 대상