IApplicationBuilderFactory.CreateBuilder(IFeatureCollection) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立給定的產生 IApplicationBuilder 器 serverFeatures
public:
Microsoft::AspNetCore::Builder::IApplicationBuilder ^ CreateBuilder(Microsoft::AspNetCore::Http::Features::IFeatureCollection ^ serverFeatures);
public Microsoft.AspNetCore.Builder.IApplicationBuilder CreateBuilder (Microsoft.AspNetCore.Http.Features.IFeatureCollection serverFeatures);
abstract member CreateBuilder : Microsoft.AspNetCore.Http.Features.IFeatureCollection -> Microsoft.AspNetCore.Builder.IApplicationBuilder
Public Function CreateBuilder (serverFeatures As IFeatureCollection) As IApplicationBuilder
參數
- serverFeatures
- IFeatureCollection
IFeatureCollectionHTTP 功能的 。
傳回
設定 IApplicationBuilder 為 serverFeatures
的 。