IISMiddleware 构造函数

定义

重载

IISMiddleware(RequestDelegate, ILoggerFactory, IOptions<IISOptions>, String)
IISMiddleware(RequestDelegate, ILoggerFactory, IOptions<IISOptions>, String, IAuthenticationSchemeProvider, IApplicationLifetime)
IISMiddleware(RequestDelegate, ILoggerFactory, IOptions<IISOptions>, String, IAuthenticationSchemeProvider, IHostApplicationLifetime)

使 IIS 进程外正常工作的中间件。

IISMiddleware(RequestDelegate, ILoggerFactory, IOptions<IISOptions>, String, Boolean, IAuthenticationSchemeProvider, IApplicationLifetime)
IISMiddleware(RequestDelegate, ILoggerFactory, IOptions<IISOptions>, String, Boolean, IAuthenticationSchemeProvider, IHostApplicationLifetime)

使 IIS 进程外正常工作的中间件。

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)

参数

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)

参数

loggerFactory
ILoggerFactory
options
IOptions<IISOptions>
pairingToken
String
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

ILoggerFactory

options
IOptions<IISOptions>

此中间件的配置。

pairingToken
String

用于与 ASP.NET Core 模块协调的令牌。

适用于

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)

参数

loggerFactory
ILoggerFactory
options
IOptions<IISOptions>
pairingToken
String
isWebsocketsSupported
Boolean
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

ILoggerFactory

options
IOptions<IISOptions>

此中间件的配置。

pairingToken
String

用于与 ASP.NET Core 模块协调的令牌。

isWebsocketsSupported
Boolean

IIS 是否支持 Websocket。

适用于