KestrelServerOptions.Configure メソッド

定義

オーバーロード

Configure(IConfiguration, Boolean)

入力として IConfiguration を受け取る Kestrel を設定するための構成ローダーを作成します。 この構成のスコープは、Kestrel の構成セクションに設定する必要があります。

Configure()

Kestrel を設定するための構成ローダーを作成します。

Configure(IConfiguration)

入力として IConfiguration を受け取る Kestrel を設定するための構成ローダーを作成します。 この構成のスコープは、Kestrel の構成セクションに設定する必要があります。 を呼び出 Configure(IConfiguration, Boolean) して、動的エンドポイント バインドの更新を有効にします。

Configure(IConfiguration, Boolean)

入力として IConfiguration を受け取る Kestrel を設定するための構成ローダーを作成します。 この構成のスコープは、Kestrel の構成セクションに設定する必要があります。

public:
 Microsoft::AspNetCore::Server::Kestrel::KestrelConfigurationLoader ^ Configure(Microsoft::Extensions::Configuration::IConfiguration ^ config, bool reloadOnChange);
public Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader Configure (Microsoft.Extensions.Configuration.IConfiguration config, bool reloadOnChange);
member this.Configure : Microsoft.Extensions.Configuration.IConfiguration * bool -> Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader
Public Function Configure (config As IConfiguration, reloadOnChange As Boolean) As KestrelConfigurationLoader

パラメーター

config
IConfiguration

Kestrel の構成セクション。

reloadOnChange
Boolean

の場合 true、Kestrel は構成の変更時にエンドポイント バインドを動的に更新します。 これにより、 の [エンドポイント] セクションで定義されているエンドポイントのみが再読み込みされます config。 コードで定義されているエンドポイントは再読み込みされません。

戻り値

KestrelConfigurationLoader追加のエンドポイント構成用の 。

適用対象

Configure()

Kestrel を設定するための構成ローダーを作成します。

public:
 Microsoft::AspNetCore::Server::Kestrel::KestrelConfigurationLoader ^ Configure();
public Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader Configure ();
member this.Configure : unit -> Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader
Public Function Configure () As KestrelConfigurationLoader

戻り値

KestrelConfigurationLoaderエンドポイントを構成するための 。

適用対象

Configure(IConfiguration)

入力として IConfiguration を受け取る Kestrel を設定するための構成ローダーを作成します。 この構成のスコープは、Kestrel の構成セクションに設定する必要があります。 を呼び出 Configure(IConfiguration, Boolean) して、動的エンドポイント バインドの更新を有効にします。

public:
 Microsoft::AspNetCore::Server::Kestrel::KestrelConfigurationLoader ^ Configure(Microsoft::Extensions::Configuration::IConfiguration ^ config);
public Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader Configure (Microsoft.Extensions.Configuration.IConfiguration config);
member this.Configure : Microsoft.Extensions.Configuration.IConfiguration -> Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader
Public Function Configure (config As IConfiguration) As KestrelConfigurationLoader

パラメーター

config
IConfiguration

Kestrel の構成セクション。

戻り値

KestrelConfigurationLoader追加のエンドポイント構成用の 。

適用対象