HttpsRedirectionMiddleware 构造函数

定义

重载

HttpsRedirectionMiddleware(RequestDelegate, IOptions<HttpsRedirectionOptions>, IConfiguration, ILoggerFactory)

初始化 HttpsRedirectionMiddleware

HttpsRedirectionMiddleware(RequestDelegate, IOptions<HttpsRedirectionOptions>, IConfiguration, ILoggerFactory, IServerAddressesFeature)

初始化 HttpsRedirectionMiddleware

HttpsRedirectionMiddleware(RequestDelegate, IOptions<HttpsRedirectionOptions>, IConfiguration, ILoggerFactory)

Source:
HttpsRedirectionMiddleware.cs
Source:
HttpsRedirectionMiddleware.cs
Source:
HttpsRedirectionMiddleware.cs
public:
 HttpsRedirectionMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::HttpsPolicy::HttpsRedirectionOptions ^> ^ options, Microsoft::Extensions::Configuration::IConfiguration ^ config, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public HttpsRedirectionMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionOptions> options, Microsoft.Extensions.Configuration.IConfiguration config, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionOptions> * Microsoft.Extensions.Configuration.IConfiguration * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware
Public Sub New (next As RequestDelegate, options As IOptions(Of HttpsRedirectionOptions), config As IConfiguration, loggerFactory As ILoggerFactory)

参数

loggerFactory
ILoggerFactory

适用于

HttpsRedirectionMiddleware(RequestDelegate, IOptions<HttpsRedirectionOptions>, IConfiguration, ILoggerFactory, IServerAddressesFeature)

Source:
HttpsRedirectionMiddleware.cs
Source:
HttpsRedirectionMiddleware.cs
Source:
HttpsRedirectionMiddleware.cs
public:
 HttpsRedirectionMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::HttpsPolicy::HttpsRedirectionOptions ^> ^ options, Microsoft::Extensions::Configuration::IConfiguration ^ config, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, Microsoft::AspNetCore::Hosting::Server::Features::IServerAddressesFeature ^ serverAddressesFeature);
public HttpsRedirectionMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionOptions> options, Microsoft.Extensions.Configuration.IConfiguration config, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Hosting.Server.Features.IServerAddressesFeature serverAddressesFeature);
new Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionOptions> * Microsoft.Extensions.Configuration.IConfiguration * Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.AspNetCore.Hosting.Server.Features.IServerAddressesFeature -> Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware
Public Sub New (next As RequestDelegate, options As IOptions(Of HttpsRedirectionOptions), config As IConfiguration, loggerFactory As ILoggerFactory, serverAddressesFeature As IServerAddressesFeature)

参数

loggerFactory
ILoggerFactory
serverAddressesFeature
IServerAddressesFeature

适用于