ResponseCookiesFeature 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ResponseCookiesFeature(IFeatureCollection) |
初始化一个新 ResponseCookiesFeature 实例。 |
ResponseCookiesFeature(IFeatureCollection, ObjectPool<StringBuilder>) |
已过时.
初始化一个新 ResponseCookiesFeature 实例。 |
ResponseCookiesFeature(IFeatureCollection)
- Source:
- ResponseCookiesFeature.cs
- Source:
- ResponseCookiesFeature.cs
- Source:
- 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>)
- Source:
- ResponseCookiesFeature.cs
- Source:
- ResponseCookiesFeature.cs
- Source:
- 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>为 。
- 属性