Endpoint(RequestDelegate, EndpointMetadataCollection, String) Constructor

Definición

Crea una nueva instancia 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)

Parámetros

requestDelegate
RequestDelegate

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

metadata
EndpointMetadataCollection

Punto de conexión EndpointMetadataCollection. Su valor puede ser null.

displayName
String

Nombre para mostrar informativo del punto de conexión. Su valor puede ser null.

Se aplica a