IApplicationBuilder.ServerFeatures 属性

定义

获取应用程序服务器提供的 HTTP 功能集。

public:
 property Microsoft::AspNetCore::Http::Features::IFeatureCollection ^ ServerFeatures { Microsoft::AspNetCore::Http::Features::IFeatureCollection ^ get(); };
public Microsoft.AspNetCore.Http.Features.IFeatureCollection ServerFeatures { get; }
member this.ServerFeatures : Microsoft.AspNetCore.Http.Features.IFeatureCollection
Public ReadOnly Property ServerFeatures As IFeatureCollection

属性值

注解

如果未为应用程序生成器指定服务器,则返回空集合。

适用于