RequestCookiesFeature 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
RequestCookiesFeature(IFeatureCollection) |
初始化 RequestCookiesFeature 的新執行個體。 |
RequestCookiesFeature(IRequestCookieCollection) |
初始化 RequestCookiesFeature 的新執行個體。 |
RequestCookiesFeature(IFeatureCollection)
初始化 RequestCookiesFeature 的新執行個體。
public:
RequestCookiesFeature(Microsoft::AspNetCore::Http::Features::IFeatureCollection ^ features);
public RequestCookiesFeature (Microsoft.AspNetCore.Http.Features.IFeatureCollection features);
new Microsoft.AspNetCore.Http.Features.RequestCookiesFeature : Microsoft.AspNetCore.Http.Features.IFeatureCollection -> Microsoft.AspNetCore.Http.Features.RequestCookiesFeature
Public Sub New (features As IFeatureCollection)
參數
- features
- IFeatureCollection
要初始化的 IFeatureCollection。
適用於
RequestCookiesFeature(IRequestCookieCollection)
初始化 RequestCookiesFeature 的新執行個體。
public:
RequestCookiesFeature(Microsoft::AspNetCore::Http::IRequestCookieCollection ^ cookies);
public RequestCookiesFeature (Microsoft.AspNetCore.Http.IRequestCookieCollection cookies);
new Microsoft.AspNetCore.Http.Features.RequestCookiesFeature : Microsoft.AspNetCore.Http.IRequestCookieCollection -> Microsoft.AspNetCore.Http.Features.RequestCookiesFeature
Public Sub New (cookies As IRequestCookieCollection)
參數
- cookies
- IRequestCookieCollection
IRequestCookieCollection要作為備份存放區的 。