Partager via


Endpoint(RequestDelegate, EndpointMetadataCollection, String) Constructeur

Définition

Crée une instance de Endpoint.

public:
 Endpoint(Microsoft::AspNetCore::Http::RequestDelegate ^ requestDelegate, Microsoft::AspNetCore::Http::EndpointMetadataCollection ^ metadata, System::String ^ displayName);
public Endpoint (Microsoft.AspNetCore.Http.RequestDelegate requestDelegate, Microsoft.AspNetCore.Http.EndpointMetadataCollection metadata, string displayName);
public Endpoint (Microsoft.AspNetCore.Http.RequestDelegate requestDelegate, Microsoft.AspNetCore.Http.EndpointMetadataCollection? metadata, string? displayName);
public Endpoint (Microsoft.AspNetCore.Http.RequestDelegate? requestDelegate, Microsoft.AspNetCore.Http.EndpointMetadataCollection? metadata, string? displayName);
new Microsoft.AspNetCore.Http.Endpoint : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.AspNetCore.Http.EndpointMetadataCollection * string -> Microsoft.AspNetCore.Http.Endpoint
Public Sub New (requestDelegate As RequestDelegate, metadata As EndpointMetadataCollection, displayName As String)

Paramètres

requestDelegate
RequestDelegate

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

metadata
EndpointMetadataCollection

Point de terminaison EndpointMetadataCollection. Ce paramètre peut être null.

displayName
String

Nom complet d’information du point de terminaison. Ce paramètre peut être null.

S’applique à