Endpoint(RequestDelegate, EndpointMetadataCollection, String) Konstruktor

Definition

Erstellt eine neue Instanz von 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)

Parameter

requestDelegate
RequestDelegate

Der Delegat, der zum Verarbeiten von Anforderungen für den Endpunkt verwendet wird.

metadata
EndpointMetadataCollection

Der Endpunkt EndpointMetadataCollection. Ist möglicherweise NULL.

displayName
String

Der Informationsanzeigename des Endpunkts. Ist möglicherweise NULL.

Gilt für: