CookieOptions 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
CookieOptions() |
Creates a default cookie with a path of '/'. |
CookieOptions(CookieOptions) |
Creates a copy of the given CookieOptions. |
CookieOptions()
- Source:
- CookieOptions.cs
- Source:
- CookieOptions.cs
- Source:
- CookieOptions.cs
- Source:
- CookieOptions.cs
- Source:
- CookieOptions.cs
- Source:
- CookieOptions.cs
Creates a default cookie with a path of '/'.
public:
CookieOptions();
public CookieOptions ();
Public Sub New ()
Applies to
CookieOptions(CookieOptions)
- Source:
- CookieOptions.cs
Creates a copy of the given 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)
Parameters
- options
- CookieOptions