Condividi tramite


EndpointRouteBuilderExtensions.MapDelete Metodo

Definizione

Overload

MapDelete(IEndpointRouteBuilder, String, RequestDelegate)

Aggiunge un RouteEndpoint oggetto all'oggetto IEndpointRouteBuilder che corrisponde alle richieste HTTP DELETE per il modello specificato.

MapDelete(IEndpointRouteBuilder, String, Delegate)

Aggiunge un RouteEndpoint oggetto all'oggetto IEndpointRouteBuilder che corrisponde alle richieste HTTP DELETE per il modello specificato.

MapDelete(IEndpointRouteBuilder, String, RequestDelegate)

Origine:
EndpointRouteBuilderExtensions.cs

Aggiunge un RouteEndpoint oggetto all'oggetto IEndpointRouteBuilder che corrisponde alle richieste HTTP DELETE per il modello specificato.

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

Parametri

endpoints
IEndpointRouteBuilder

Oggetto IEndpointRouteBuilder a cui aggiungere la route.

pattern
String

Modello di route.

requestDelegate
RequestDelegate

Delegato eseguito quando l'endpoint corrisponde.

Restituisce

Oggetto IEndpointConventionBuilder che può essere usato per personalizzare ulteriormente l'endpoint.

Si applica a

MapDelete(IEndpointRouteBuilder, String, Delegate)

Origine:
EndpointRouteBuilderExtensions.cs

Aggiunge un RouteEndpoint oggetto all'oggetto IEndpointRouteBuilder che corrisponde alle richieste HTTP DELETE per il modello specificato.

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

Parametri

endpoints
IEndpointRouteBuilder

Oggetto IEndpointRouteBuilder a cui aggiungere la route.

pattern
String

Modello di route.

handler
Delegate

Delegato eseguito quando l'endpoint corrisponde.

Restituisce

Oggetto RouteHandlerBuilder che può essere usato per personalizzare ulteriormente l'endpoint.

Si applica a