HttpMethodOverrideMiddleware 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public:
HttpMethodOverrideMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::HttpMethodOverrideOptions ^> ^ options);
public HttpMethodOverrideMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.HttpMethodOverrideOptions> options);
new Microsoft.AspNetCore.HttpOverrides.HttpMethodOverrideMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.HttpMethodOverrideOptions> -> Microsoft.AspNetCore.HttpOverrides.HttpMethodOverrideMiddleware
Public Sub New (next As RequestDelegate, options As IOptions(Of HttpMethodOverrideOptions))
参数
- next
- RequestDelegate
表示 RequestDelegate 管道中的下一个中间件的 。
- options
- IOptions<HttpMethodOverrideOptions>
HttpMethodOverrideOptions用于配置中间件的 。