Share via


CookieOptions Constructors

Definition

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

Applies to