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 содержит все определенные признаки, включая этот IResponseCookiesFeature и IHttpResponseFeature.
Применяется к
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 содержит все определенные признаки, включая этот IResponseCookiesFeature и IHttpResponseFeature.
- builderPool
- ObjectPool<StringBuilder>
, ObjectPool<T>если доступно.
- Атрибуты