RequestDelegateRouteBuilderExtensions.MapMiddlewareDelete メソッド

定義

指定された の IRouteBuilder HTTP DELETE 要求にのみ一致する ルートを に追加しますactiontemplate

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 参照。

適用対象