HttpMethodOverrideMiddleware 构造函数

定义

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用于配置中间件的 。

适用于