Udostępnij za pośrednictwem


EndpointRouteBuilderExtensions.MapDelete Metoda

Definicja

Przeciążenia

MapDelete(IEndpointRouteBuilder, String, RequestDelegate)

RouteEndpoint Dodaje element do elementu zgodnego IEndpointRouteBuilder z żądaniami HTTP DELETE dla określonego wzorca.

MapDelete(IEndpointRouteBuilder, String, Delegate)

RouteEndpoint Dodaje element do elementu zgodnego IEndpointRouteBuilder z żądaniami HTTP DELETE dla określonego wzorca.

MapDelete(IEndpointRouteBuilder, String, RequestDelegate)

Źródło:
EndpointRouteBuilderExtensions.cs

RouteEndpoint Dodaje element do elementu zgodnego IEndpointRouteBuilder z żądaniami HTTP DELETE dla określonego wzorca.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IEndpointConventionBuilder ^ MapDelete(Microsoft::AspNetCore::Routing::IEndpointRouteBuilder ^ endpoints, System::String ^ pattern, Microsoft::AspNetCore::Http::RequestDelegate ^ requestDelegate);
public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapDelete (this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, Microsoft.AspNetCore.Http.RequestDelegate requestDelegate);
static member MapDelete : Microsoft.AspNetCore.Routing.IEndpointRouteBuilder * string * Microsoft.AspNetCore.Http.RequestDelegate -> Microsoft.AspNetCore.Builder.IEndpointConventionBuilder
<Extension()>
Public Function MapDelete (endpoints As IEndpointRouteBuilder, pattern As String, requestDelegate As RequestDelegate) As IEndpointConventionBuilder

Parametry

endpoints
IEndpointRouteBuilder

Element IEndpointRouteBuilder umożliwiający dodanie trasy do.

pattern
String

Wzorzec trasy.

requestDelegate
RequestDelegate

Delegat wykonywany po dopasowaniu punktu końcowego.

Zwraca

Element IEndpointConventionBuilder , który może służyć do dalszego dostosowywania punktu końcowego.

Dotyczy

MapDelete(IEndpointRouteBuilder, String, Delegate)

Źródło:
EndpointRouteBuilderExtensions.cs

RouteEndpoint Dodaje element do elementu zgodnego IEndpointRouteBuilder z żądaniami HTTP DELETE dla określonego wzorca.

public static Microsoft.AspNetCore.Builder.RouteHandlerBuilder MapDelete (this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, Delegate handler);
static member MapDelete : Microsoft.AspNetCore.Routing.IEndpointRouteBuilder * string * Delegate -> Microsoft.AspNetCore.Builder.RouteHandlerBuilder
<Extension()>
Public Function MapDelete (endpoints As IEndpointRouteBuilder, pattern As String, handler As Delegate) As RouteHandlerBuilder

Parametry

endpoints
IEndpointRouteBuilder

Element IEndpointRouteBuilder umożliwiający dodanie trasy do.

pattern
String

Wzorzec trasy.

handler
Delegate

Delegat wykonywany po dopasowaniu punktu końcowego.

Zwraca

Element RouteHandlerBuilder , który może służyć do dalszego dostosowywania punktu końcowego.

Dotyczy