다음을 통해 공유


RequestDelegateRouteBuilderExtensions.MapMiddlewareDelete 메서드

정의

지정된 templateactionIRouteBuilder 대한 HTTP DELETE 요청과만 일치하는 에 경로를 추가합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Routing::IRouteBuilder ^ MapMiddlewareDelete(Microsoft::AspNetCore::Routing::IRouteBuilder ^ builder, System::String ^ template, Action<Microsoft::AspNetCore::Builder::IApplicationBuilder ^> ^ action);
public static Microsoft.AspNetCore.Routing.IRouteBuilder MapMiddlewareDelete (this Microsoft.AspNetCore.Routing.IRouteBuilder builder, string template, Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> action);
static member MapMiddlewareDelete : Microsoft.AspNetCore.Routing.IRouteBuilder * string * Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> -> Microsoft.AspNetCore.Routing.IRouteBuilder
<Extension()>
Public Function MapMiddlewareDelete (builder As IRouteBuilder, template As String, action As Action(Of IApplicationBuilder)) As IRouteBuilder

매개 변수

template
String

경로 템플릿입니다.

action
Action<IApplicationBuilder>

에 적용할 작업입니다 IApplicationBuilder.

반환

이 작업이 완료된 후 에 builder 대한 참조입니다.

적용 대상