CookiePolicyMiddleware Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CookiePolicyMiddleware(RequestDelegate, IOptions<CookiePolicyOptions>) |
Initializes a new instance of CookiePolicyMiddleware. |
CookiePolicyMiddleware(RequestDelegate, IOptions<CookiePolicyOptions>, ILoggerFactory) |
Initializes a new instance of CookiePolicyMiddleware. |
CookiePolicyMiddleware(RequestDelegate, IOptions<CookiePolicyOptions>)
- Source:
- CookiePolicyMiddleware.cs
- Source:
- CookiePolicyMiddleware.cs
- Source:
- CookiePolicyMiddleware.cs
Initializes a new instance of CookiePolicyMiddleware.
public:
CookiePolicyMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::CookiePolicyOptions ^> ^ options);
public CookiePolicyMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.CookiePolicyOptions> options);
new Microsoft.AspNetCore.CookiePolicy.CookiePolicyMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.CookiePolicyOptions> -> Microsoft.AspNetCore.CookiePolicy.CookiePolicyMiddleware
Public Sub New (next As RequestDelegate, options As IOptions(Of CookiePolicyOptions))
Parameters
- next
- RequestDelegate
A reference to the next item in the application pipeline.
- options
- IOptions<CookiePolicyOptions>
Accessor to CookiePolicyOptions.
Applies to
CookiePolicyMiddleware(RequestDelegate, IOptions<CookiePolicyOptions>, ILoggerFactory)
- Source:
- CookiePolicyMiddleware.cs
- Source:
- CookiePolicyMiddleware.cs
- Source:
- CookiePolicyMiddleware.cs
Initializes a new instance of CookiePolicyMiddleware.
public:
CookiePolicyMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::CookiePolicyOptions ^> ^ options, Microsoft::Extensions::Logging::ILoggerFactory ^ factory);
public CookiePolicyMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.CookiePolicyOptions> options, Microsoft.Extensions.Logging.ILoggerFactory factory);
new Microsoft.AspNetCore.CookiePolicy.CookiePolicyMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.CookiePolicyOptions> * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.CookiePolicy.CookiePolicyMiddleware
Public Sub New (next As RequestDelegate, options As IOptions(Of CookiePolicyOptions), factory As ILoggerFactory)
Parameters
- next
- RequestDelegate
A reference to the next item in the application pipeline.
- options
- IOptions<CookiePolicyOptions>
Accessor to CookiePolicyOptions.
- factory
- ILoggerFactory
The ILoggerFactory.