CookiePolicyMiddleware Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
CookiePolicyMiddleware(RequestDelegate, IOptions<CookiePolicyOptions>) |
Initialise une nouvelle instance de CookiePolicyMiddleware. |
CookiePolicyMiddleware(RequestDelegate, IOptions<CookiePolicyOptions>, ILoggerFactory) |
Initialise une nouvelle instance de CookiePolicyMiddleware. |
CookiePolicyMiddleware(RequestDelegate, IOptions<CookiePolicyOptions>)
- Source:
- CookiePolicyMiddleware.cs
- Source:
- CookiePolicyMiddleware.cs
- Source:
- CookiePolicyMiddleware.cs
Initialise une nouvelle instance de 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))
Paramètres
- next
- RequestDelegate
Référence à l’élément suivant dans le pipeline d’application.
- options
- IOptions<CookiePolicyOptions>
Accesseur à CookiePolicyOptions.
S’applique à
CookiePolicyMiddleware(RequestDelegate, IOptions<CookiePolicyOptions>, ILoggerFactory)
- Source:
- CookiePolicyMiddleware.cs
- Source:
- CookiePolicyMiddleware.cs
- Source:
- CookiePolicyMiddleware.cs
Initialise une nouvelle instance de 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)
Paramètres
- next
- RequestDelegate
Référence à l’élément suivant dans le pipeline d’application.
- options
- IOptions<CookiePolicyOptions>
Accesseur à CookiePolicyOptions.
- factory
- ILoggerFactory
L’ILoggerFactoryopérateur