HstsMiddleware Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
HstsMiddleware(RequestDelegate, IOptions<HstsOptions>) |
Initialisieren Sie die HSTS-Middleware. |
HstsMiddleware(RequestDelegate, IOptions<HstsOptions>, ILoggerFactory) |
Initialisieren Sie die HSTS-Middleware. |
HstsMiddleware(RequestDelegate, IOptions<HstsOptions>)
- Quelle:
- HstsMiddleware.cs
- Quelle:
- HstsMiddleware.cs
- Quelle:
- HstsMiddleware.cs
Initialisieren Sie die HSTS-Middleware.
public:
HstsMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::HttpsPolicy::HstsOptions ^> ^ options);
public HstsMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.HttpsPolicy.HstsOptions> options);
new Microsoft.AspNetCore.HttpsPolicy.HstsMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.HttpsPolicy.HstsOptions> -> Microsoft.AspNetCore.HttpsPolicy.HstsMiddleware
Public Sub New (next As RequestDelegate, options As IOptions(Of HstsOptions))
Parameter
- next
- RequestDelegate
- options
- IOptions<HstsOptions>
Gilt für:
HstsMiddleware(RequestDelegate, IOptions<HstsOptions>, ILoggerFactory)
- Quelle:
- HstsMiddleware.cs
- Quelle:
- HstsMiddleware.cs
Initialisieren Sie die HSTS-Middleware.
public:
HstsMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::HttpsPolicy::HstsOptions ^> ^ options, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public HstsMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.HttpsPolicy.HstsOptions> options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.HttpsPolicy.HstsMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.HttpsPolicy.HstsOptions> * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.HttpsPolicy.HstsMiddleware
Public Sub New (next As RequestDelegate, options As IOptions(Of HstsOptions), loggerFactory As ILoggerFactory)
Parameter
- next
- RequestDelegate
- options
- IOptions<HstsOptions>
- loggerFactory
- ILoggerFactory