IISMiddleware 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
IISMiddleware(RequestDelegate, ILoggerFactory, IOptions<IISOptions>, String)
public:
IISMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::IISOptions ^> ^ options, System::String ^ pairingToken);
public IISMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.IISOptions> options, string pairingToken);
new Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.IISOptions> * string -> Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware
Public Sub New (next As RequestDelegate, loggerFactory As ILoggerFactory, options As IOptions(Of IISOptions), pairingToken As String)
参数
- next
- RequestDelegate
- loggerFactory
- ILoggerFactory
- options
- IOptions<IISOptions>
- pairingToken
- String
适用于
IISMiddleware(RequestDelegate, ILoggerFactory, IOptions<IISOptions>, String, IAuthenticationSchemeProvider, IApplicationLifetime)
- Source:
- IISMiddleware.cs
public:
IISMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::IISOptions ^> ^ options, System::String ^ pairingToken, Microsoft::AspNetCore::Authentication::IAuthenticationSchemeProvider ^ authentication, Microsoft::AspNetCore::Hosting::IApplicationLifetime ^ applicationLifetime);
public IISMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.IISOptions> options, string pairingToken, Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider authentication, Microsoft.AspNetCore.Hosting.IApplicationLifetime applicationLifetime);
new Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.IISOptions> * string * Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider * Microsoft.AspNetCore.Hosting.IApplicationLifetime -> Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware
Public Sub New (next As RequestDelegate, loggerFactory As ILoggerFactory, options As IOptions(Of IISOptions), pairingToken As String, authentication As IAuthenticationSchemeProvider, applicationLifetime As IApplicationLifetime)
参数
- next
- RequestDelegate
- loggerFactory
- ILoggerFactory
- options
- IOptions<IISOptions>
- pairingToken
- String
- authentication
- IAuthenticationSchemeProvider
- applicationLifetime
- IApplicationLifetime
适用于
IISMiddleware(RequestDelegate, ILoggerFactory, IOptions<IISOptions>, String, IAuthenticationSchemeProvider, IHostApplicationLifetime)
- Source:
- IISMiddleware.cs
使 IIS 进程外正常工作的中间件。
public:
IISMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::IISOptions ^> ^ options, System::String ^ pairingToken, Microsoft::AspNetCore::Authentication::IAuthenticationSchemeProvider ^ authentication, Microsoft::Extensions::Hosting::IHostApplicationLifetime ^ applicationLifetime);
public IISMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.IISOptions> options, string pairingToken, Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider authentication, Microsoft.Extensions.Hosting.IHostApplicationLifetime applicationLifetime);
new Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.IISOptions> * string * Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider * Microsoft.Extensions.Hosting.IHostApplicationLifetime -> Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware
Public Sub New (next As RequestDelegate, loggerFactory As ILoggerFactory, options As IOptions(Of IISOptions), pairingToken As String, authentication As IAuthenticationSchemeProvider, applicationLifetime As IHostApplicationLifetime)
参数
- next
- RequestDelegate
管道中的下一个中间件。
- loggerFactory
- ILoggerFactory
- options
- IOptions<IISOptions>
此中间件的配置。
- pairingToken
- String
用于与 ASP.NET Core 模块协调的令牌。
- authentication
- IAuthenticationSchemeProvider
- applicationLifetime
- IHostApplicationLifetime
适用于
IISMiddleware(RequestDelegate, ILoggerFactory, IOptions<IISOptions>, String, Boolean, IAuthenticationSchemeProvider, IApplicationLifetime)
- Source:
- IISMiddleware.cs
public:
IISMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::IISOptions ^> ^ options, System::String ^ pairingToken, bool isWebsocketsSupported, Microsoft::AspNetCore::Authentication::IAuthenticationSchemeProvider ^ authentication, Microsoft::AspNetCore::Hosting::IApplicationLifetime ^ applicationLifetime);
public IISMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.IISOptions> options, string pairingToken, bool isWebsocketsSupported, Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider authentication, Microsoft.AspNetCore.Hosting.IApplicationLifetime applicationLifetime);
new Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.IISOptions> * string * bool * Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider * Microsoft.AspNetCore.Hosting.IApplicationLifetime -> Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware
Public Sub New (next As RequestDelegate, loggerFactory As ILoggerFactory, options As IOptions(Of IISOptions), pairingToken As String, isWebsocketsSupported As Boolean, authentication As IAuthenticationSchemeProvider, applicationLifetime As IApplicationLifetime)
参数
- next
- RequestDelegate
- loggerFactory
- ILoggerFactory
- options
- IOptions<IISOptions>
- pairingToken
- String
- isWebsocketsSupported
- Boolean
- authentication
- IAuthenticationSchemeProvider
- applicationLifetime
- IApplicationLifetime
适用于
IISMiddleware(RequestDelegate, ILoggerFactory, IOptions<IISOptions>, String, Boolean, IAuthenticationSchemeProvider, IHostApplicationLifetime)
- Source:
- IISMiddleware.cs
使 IIS 进程外正常工作的中间件。
public:
IISMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::IISOptions ^> ^ options, System::String ^ pairingToken, bool isWebsocketsSupported, Microsoft::AspNetCore::Authentication::IAuthenticationSchemeProvider ^ authentication, Microsoft::Extensions::Hosting::IHostApplicationLifetime ^ applicationLifetime);
public IISMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.IISOptions> options, string pairingToken, bool isWebsocketsSupported, Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider authentication, Microsoft.Extensions.Hosting.IHostApplicationLifetime applicationLifetime);
new Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.IISOptions> * string * bool * Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider * Microsoft.Extensions.Hosting.IHostApplicationLifetime -> Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware
Public Sub New (next As RequestDelegate, loggerFactory As ILoggerFactory, options As IOptions(Of IISOptions), pairingToken As String, isWebsocketsSupported As Boolean, authentication As IAuthenticationSchemeProvider, applicationLifetime As IHostApplicationLifetime)
参数
- next
- RequestDelegate
管道中的下一个中间件。
- loggerFactory
- ILoggerFactory
- options
- IOptions<IISOptions>
此中间件的配置。
- pairingToken
- String
用于与 ASP.NET Core 模块协调的令牌。
- isWebsocketsSupported
- Boolean
IIS 是否支持 Websocket。
- authentication
- IAuthenticationSchemeProvider
- applicationLifetime
- IHostApplicationLifetime