IApplicationBuilder.Use(Func<RequestDelegate,RequestDelegate>) 메서드

정의

애플리케이션의 요청 파이프라인에 미들웨어 대리자를 추가합니다.

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

매개 변수

middleware
Func<RequestDelegate,RequestDelegate>

미들웨어 대리자입니다.

반환

IApplicationBuilder

적용 대상