共用方式為


ResponseCookiesFeature 建構函式

定義

多載

ResponseCookiesFeature(IFeatureCollection)

初始化新的 ResponseCookiesFeature 執行個體。

ResponseCookiesFeature(IFeatureCollection, ObjectPool<StringBuilder>)
已淘汰.

初始化新的 ResponseCookiesFeature 執行個體。

ResponseCookiesFeature(IFeatureCollection)

來源:
ResponseCookiesFeature.cs
來源:
ResponseCookiesFeature.cs
來源:
ResponseCookiesFeature.cs

初始化新的 ResponseCookiesFeature 執行個體。

public:
 ResponseCookiesFeature(Microsoft::AspNetCore::Http::Features::IFeatureCollection ^ features);
public ResponseCookiesFeature (Microsoft.AspNetCore.Http.Features.IFeatureCollection features);
new Microsoft.AspNetCore.Http.Features.ResponseCookiesFeature : Microsoft.AspNetCore.Http.Features.IFeatureCollection -> Microsoft.AspNetCore.Http.Features.ResponseCookiesFeature
Public Sub New (features As IFeatureCollection)

參數

features
IFeatureCollection

IFeatureCollection 包含所有已定義的功能,包括這個 IResponseCookiesFeatureIHttpResponseFeature

適用於

ResponseCookiesFeature(IFeatureCollection, ObjectPool<StringBuilder>)

來源:
ResponseCookiesFeature.cs
來源:
ResponseCookiesFeature.cs
來源:
ResponseCookiesFeature.cs

警告

This constructor is obsolete and will be removed in a future version.

初始化新的 ResponseCookiesFeature 執行個體。

public:
 ResponseCookiesFeature(Microsoft::AspNetCore::Http::Features::IFeatureCollection ^ features, Microsoft::Extensions::ObjectPool::ObjectPool<System::Text::StringBuilder ^> ^ builderPool);
public ResponseCookiesFeature (Microsoft.AspNetCore.Http.Features.IFeatureCollection features, Microsoft.Extensions.ObjectPool.ObjectPool<System.Text.StringBuilder> builderPool);
[System.Obsolete("This constructor is obsolete and will be removed in a future version.")]
public ResponseCookiesFeature (Microsoft.AspNetCore.Http.Features.IFeatureCollection features, Microsoft.Extensions.ObjectPool.ObjectPool<System.Text.StringBuilder>? builderPool);
new Microsoft.AspNetCore.Http.Features.ResponseCookiesFeature : Microsoft.AspNetCore.Http.Features.IFeatureCollection * Microsoft.Extensions.ObjectPool.ObjectPool<System.Text.StringBuilder> -> Microsoft.AspNetCore.Http.Features.ResponseCookiesFeature
[<System.Obsolete("This constructor is obsolete and will be removed in a future version.")>]
new Microsoft.AspNetCore.Http.Features.ResponseCookiesFeature : Microsoft.AspNetCore.Http.Features.IFeatureCollection * Microsoft.Extensions.ObjectPool.ObjectPool<System.Text.StringBuilder> -> Microsoft.AspNetCore.Http.Features.ResponseCookiesFeature
Public Sub New (features As IFeatureCollection, builderPool As ObjectPool(Of StringBuilder))

參數

features
IFeatureCollection

IFeatureCollection 包含所有已定義的功能,包括這個 IResponseCookiesFeatureIHttpResponseFeature

builderPool
ObjectPool<StringBuilder>

ObjectPool<T>如果有的話,則為 。

屬性

適用於