WebApplication.IApplicationBuilder.Use Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Microsoft.AspNetCore.Builder.IApplicationBuilder IApplicationBuilder.Use (Func<Microsoft.AspNetCore.Http.RequestDelegate,Microsoft.AspNetCore.Http.RequestDelegate> middleware);
abstract member Microsoft.AspNetCore.Builder.IApplicationBuilder.Use : Func<Microsoft.AspNetCore.Http.RequestDelegate, Microsoft.AspNetCore.Http.RequestDelegate> -> Microsoft.AspNetCore.Builder.IApplicationBuilder
override this.Microsoft.AspNetCore.Builder.IApplicationBuilder.Use : Func<Microsoft.AspNetCore.Http.RequestDelegate, Microsoft.AspNetCore.Http.RequestDelegate> -> Microsoft.AspNetCore.Builder.IApplicationBuilder
Function Use (middleware As Func(Of RequestDelegate, RequestDelegate)) As IApplicationBuilder Implements IApplicationBuilder.Use
Paramètres
- middleware
- Func<RequestDelegate,RequestDelegate>