IApplicationBuilder.Use(Func<RequestDelegate,RequestDelegate>) Yöntem

Tanım

Uygulamanın istek işlem hattına bir ara yazılım temsilcisi ekler.

public:
 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
Public Function Use (middleware As Func(Of RequestDelegate, RequestDelegate)) As IApplicationBuilder

Parametreler

middleware
Func<RequestDelegate,RequestDelegate>

Ara yazılım temsilcisi.

Döndürülenler

IApplicationBuilder.

Şunlara uygulanır