EndpointRouteBuilderExtensions.MapDelete Metoda

Definice

Přetížení

MapDelete(IEndpointRouteBuilder, String, RequestDelegate)

RouteEndpoint Přidá do objektuIEndpointRouteBuilder, který odpovídá požadavkům HTTP DELETE pro zadaný vzor.

MapDelete(IEndpointRouteBuilder, String, Delegate)

RouteEndpoint Přidá do objektuIEndpointRouteBuilder, který odpovídá požadavkům HTTP DELETE pro zadaný vzor.

MapDelete(IEndpointRouteBuilder, String, RequestDelegate)

RouteEndpoint Přidá do objektuIEndpointRouteBuilder, který odpovídá požadavkům HTTP DELETE pro zadaný vzor.

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

Přidání IEndpointRouteBuilder trasy do.

pattern
String

Vzor trasy.

requestDelegate
RequestDelegate

Delegát se spustí, když se koncový bod shoduje.

Návraty

IEndpointConventionBuilder

K IEndpointConventionBuilder dalšímu přizpůsobení koncového bodu je možné použít.

Platí pro

MapDelete(IEndpointRouteBuilder, String, Delegate)

RouteEndpoint Přidá do objektuIEndpointRouteBuilder, který odpovídá požadavkům HTTP DELETE pro zadaný vzor.

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

Přidání IEndpointRouteBuilder trasy do.

pattern
String

Vzor trasy.

handler
Delegate

Delegát se spustí, když se koncový bod shoduje.

Návraty

RouteHandlerBuilder

K RouteHandlerBuilder dalšímu přizpůsobení koncového bodu je možné použít.

Platí pro