다음을 통해 공유


HostingHostBuilderExtensions.ConfigureHostOptions 메서드

정의

오버로드

ConfigureHostOptions(IHostBuilder, Action<HostBuilderContext,HostOptions>)

IHost HostOptions 구성하기 위한 대리자를 추가합니다.

ConfigureHostOptions(IHostBuilder, Action<HostOptions>)

IHost HostOptions 구성하기 위한 대리자를 추가합니다.

ConfigureHostOptions(IHostBuilder, Action<HostBuilderContext,HostOptions>)

Source:
HostingHostBuilderExtensions.cs
Source:
HostingHostBuilderExtensions.cs
Source:
HostingHostBuilderExtensions.cs

IHost HostOptions 구성하기 위한 대리자를 추가합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Hosting::IHostBuilder ^ ConfigureHostOptions(Microsoft::Extensions::Hosting::IHostBuilder ^ hostBuilder, Action<Microsoft::Extensions::Hosting::HostBuilderContext ^, Microsoft::Extensions::Hosting::HostOptions ^> ^ configureOptions);
public static Microsoft.Extensions.Hosting.IHostBuilder ConfigureHostOptions (this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder, Action<Microsoft.Extensions.Hosting.HostBuilderContext,Microsoft.Extensions.Hosting.HostOptions> configureOptions);
static member ConfigureHostOptions : Microsoft.Extensions.Hosting.IHostBuilder * Action<Microsoft.Extensions.Hosting.HostBuilderContext, Microsoft.Extensions.Hosting.HostOptions> -> Microsoft.Extensions.Hosting.IHostBuilder
<Extension()>
Public Function ConfigureHostOptions (hostBuilder As IHostBuilder, configureOptions As Action(Of HostBuilderContext, HostOptions)) As IHostBuilder

매개 변수

hostBuilder
IHostBuilder

구성할 IHostBuilder.

configureOptions
Action<HostBuilderContext,HostOptions>

HostOptions구성하기 위한 대리자입니다.

반환

체인에 대한 IHostBuilder 동일한 인스턴스입니다.

적용 대상

ConfigureHostOptions(IHostBuilder, Action<HostOptions>)

Source:
HostingHostBuilderExtensions.cs
Source:
HostingHostBuilderExtensions.cs
Source:
HostingHostBuilderExtensions.cs

IHost HostOptions 구성하기 위한 대리자를 추가합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Hosting::IHostBuilder ^ ConfigureHostOptions(Microsoft::Extensions::Hosting::IHostBuilder ^ hostBuilder, Action<Microsoft::Extensions::Hosting::HostOptions ^> ^ configureOptions);
public static Microsoft.Extensions.Hosting.IHostBuilder ConfigureHostOptions (this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder, Action<Microsoft.Extensions.Hosting.HostOptions> configureOptions);
static member ConfigureHostOptions : Microsoft.Extensions.Hosting.IHostBuilder * Action<Microsoft.Extensions.Hosting.HostOptions> -> Microsoft.Extensions.Hosting.IHostBuilder
<Extension()>
Public Function ConfigureHostOptions (hostBuilder As IHostBuilder, configureOptions As Action(Of HostOptions)) As IHostBuilder

매개 변수

hostBuilder
IHostBuilder

구성할 IHostBuilder.

configureOptions
Action<HostOptions>

HostOptions구성하기 위한 대리자입니다.

반환

체인에 대한 IHostBuilder 동일한 인스턴스입니다.

적용 대상