共用方式為


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

屬性值

備註

如果未為應用程式產生器指定伺服器,則會傳回空的集合。

適用於