MapMiddleware(RequestDelegate, MapOptions) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of MapMiddleware.
public:
MapMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::AspNetCore::Builder::Extensions::MapOptions ^ options);
public MapMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Builder.Extensions.MapOptions options);
new Microsoft.AspNetCore.Builder.Extensions.MapMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.AspNetCore.Builder.Extensions.MapOptions -> Microsoft.AspNetCore.Builder.Extensions.MapMiddleware
Public Sub New (next As RequestDelegate, options As MapOptions)
Parameters
- next
- RequestDelegate
The delegate representing the next middleware in the request pipeline.
- options
- MapOptions
The middleware options.