共用方式為


OwinAppBuilder.ConfigureBackstop(IAppBuilder, HttpConfiguration) 方法

定義

將後端新增至 OWIN 應用程式管線,以產生 404 找不到回應,以供任何要求進入管線的這個部分。

protected virtual void ConfigureBackstop (Owin.IAppBuilder appBuilder, System.Web.Http.HttpConfiguration config);
abstract member ConfigureBackstop : Owin.IAppBuilder * System.Web.Http.HttpConfiguration -> unit
override this.ConfigureBackstop : Owin.IAppBuilder * System.Web.Http.HttpConfiguration -> unit
Protected Overridable Sub ConfigureBackstop (appBuilder As IAppBuilder, config As HttpConfiguration)

參數

appBuilder
Owin.IAppBuilder
config
System.Web.Http.HttpConfiguration

目前的 System.Web.Http.HttpConfiguration

適用於