Endpoint(RequestDelegate, EndpointMetadataCollection, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of 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)
Parameters
- requestDelegate
- RequestDelegate
The delegate used to process requests for the endpoint.
- metadata
- EndpointMetadataCollection
The endpoint EndpointMetadataCollection. May be null.
- displayName
- String
The informational display name of the endpoint. May be null.