CookieOptions 构造函数

定义

重载

CookieOptions()

使用路径“/”创建默认 Cookie。

CookieOptions(CookieOptions)

创建给定 CookieOptions的副本。

CookieOptions()

Source:
CookieOptions.cs
Source:
CookieOptions.cs
Source:
CookieOptions.cs
Source:
CookieOptions.cs
Source:
CookieOptions.cs
Source:
CookieOptions.cs

使用路径“/”创建默认 Cookie。

public:
 CookieOptions();
public CookieOptions ();
Public Sub New ()

适用于

CookieOptions(CookieOptions)

Source:
CookieOptions.cs

创建给定 CookieOptions的副本。

public CookieOptions (Microsoft.AspNetCore.Http.CookieOptions options);
new Microsoft.AspNetCore.Http.CookieOptions : Microsoft.AspNetCore.Http.CookieOptions -> Microsoft.AspNetCore.Http.CookieOptions
Public Sub New (options As CookieOptions)

参数

options
CookieOptions

适用于