共用方式為


CookiePolicyMiddleware 建構函式

定義

多載

CookiePolicyMiddleware(RequestDelegate, IOptions<CookiePolicyOptions>)

初始化 CookiePolicyMiddleware 的新執行個體。

CookiePolicyMiddleware(RequestDelegate, IOptions<CookiePolicyOptions>, ILoggerFactory)

初始化 CookiePolicyMiddleware 的新執行個體。

CookiePolicyMiddleware(RequestDelegate, IOptions<CookiePolicyOptions>)

來源:
CookiePolicyMiddleware.cs
來源:
CookiePolicyMiddleware.cs
來源:
CookiePolicyMiddleware.cs

初始化 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))

參數

next
RequestDelegate

應用程式管線中下一個專案的參考。

適用於

CookiePolicyMiddleware(RequestDelegate, IOptions<CookiePolicyOptions>, ILoggerFactory)

來源:
CookiePolicyMiddleware.cs
來源:
CookiePolicyMiddleware.cs
來源:
CookiePolicyMiddleware.cs

初始化 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)

參數

next
RequestDelegate

應用程式管線中下一個專案的參考。

適用於