Partilhar via


Endpoint(RequestDelegate, EndpointMetadataCollection, String) Construtor

Definição

Cria uma nova instância 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

O delegado usado para processar solicitações para o ponto de extremidade.

metadata
EndpointMetadataCollection

O ponto de extremidade EndpointMetadataCollection. Pode ser nulo.

displayName
String

O nome de exibição informativo do ponto de extremidade. Pode ser nulo.

Aplica-se a