Partager via


RouteEndpoint Constructeur

Définition

Initialise une nouvelle instance de la classe 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)

Paramètres

requestDelegate
RequestDelegate

Délégué utilisé pour traiter les demandes pour le point de terminaison.

routePattern
RoutePattern

à utiliser dans la RoutePattern correspondance d’URL.

order
Int32

Ordre attribué au point de terminaison.

metadata
EndpointMetadataCollection

Métadonnées EndpointMetadataCollection ou associées au point de terminaison.

displayName
String

Nom d’affichage informationnel du point de terminaison.

S’applique à