Condividi tramite


Endpoint(RequestDelegate, EndpointMetadataCollection, String) Costruttore

Definizione

Crea una nuova istanza di 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)

Parametri

requestDelegate
RequestDelegate

Delegato usato per elaborare le richieste per l'endpoint.

metadata
EndpointMetadataCollection

EndpointMetadataCollectionEndpoint . Può essere Null.

displayName
String

Nome visualizzato informativo dell'endpoint. Può essere Null.

Si applica a