Compartir a través de


RouteEndpoint Constructor

Definición

Inicializa una nueva instancia de la clase RouteEndpoint.

public:
 RouteEndpoint(Microsoft::AspNetCore::Http::RequestDelegate ^ requestDelegate, Microsoft::AspNetCore::Routing::Patterns::RoutePattern ^ routePattern, int order, Microsoft::AspNetCore::Http::EndpointMetadataCollection ^ metadata, System::String ^ displayName);
public RouteEndpoint (Microsoft.AspNetCore.Http.RequestDelegate requestDelegate, Microsoft.AspNetCore.Routing.Patterns.RoutePattern routePattern, int order, Microsoft.AspNetCore.Http.EndpointMetadataCollection metadata, string displayName);
public RouteEndpoint (Microsoft.AspNetCore.Http.RequestDelegate requestDelegate, Microsoft.AspNetCore.Routing.Patterns.RoutePattern routePattern, int order, Microsoft.AspNetCore.Http.EndpointMetadataCollection? metadata, string? displayName);
new Microsoft.AspNetCore.Routing.RouteEndpoint : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.AspNetCore.Routing.Patterns.RoutePattern * int * Microsoft.AspNetCore.Http.EndpointMetadataCollection * string -> Microsoft.AspNetCore.Routing.RouteEndpoint
Public Sub New (requestDelegate As RequestDelegate, routePattern As RoutePattern, order As Integer, metadata As EndpointMetadataCollection, displayName As String)

Parámetros

requestDelegate
RequestDelegate

Delegado que se usa para procesar solicitudes para el punto de conexión.

routePattern
RoutePattern

que RoutePattern se va a usar en la coincidencia de direcciones URL.

order
Int32

Orden asignado al punto de conexión.

metadata
EndpointMetadataCollection

Metadatos EndpointMetadataCollection o asociados al punto de conexión.

displayName
String

Nombre para mostrar informativo del punto de conexión.

Se aplica a