Compartir a través de


AnalysisBuilder.Use(Func<RequestDelegate,RequestDelegate>) Método

Definición

Agrega un delegado de middleware a la canalización de solicitudes de la aplicación.

public:
 virtual Microsoft::AspNetCore::Builder::IApplicationBuilder ^ Use(Func<Microsoft::AspNetCore::Http::RequestDelegate ^, Microsoft::AspNetCore::Http::RequestDelegate ^> ^ middleware);
public Microsoft.AspNetCore.Builder.IApplicationBuilder Use (Func<Microsoft.AspNetCore.Http.RequestDelegate,Microsoft.AspNetCore.Http.RequestDelegate> middleware);
abstract member Use : Func<Microsoft.AspNetCore.Http.RequestDelegate, Microsoft.AspNetCore.Http.RequestDelegate> -> Microsoft.AspNetCore.Builder.IApplicationBuilder
override this.Use : Func<Microsoft.AspNetCore.Http.RequestDelegate, Microsoft.AspNetCore.Http.RequestDelegate> -> Microsoft.AspNetCore.Builder.IApplicationBuilder
Public Function Use (middleware As Func(Of RequestDelegate, RequestDelegate)) As IApplicationBuilder

Parámetros

middleware
Func<RequestDelegate,RequestDelegate>

Delegado de middleware.

Devoluciones

IApplicationBuilder.

Implementaciones

Se aplica a