다음을 통해 공유


RouteEndpoint 생성자

정의

RouteEndpoint 클래스의 새 인스턴스를 초기화합니다.

public:
 RouteEndpoint(Microsoft::AspNetCore::Http::RequestDelegate ^ requestDelegate, Microsoft::AspNetCore::Routing::Patterns::RoutePattern ^ routePattern, int order, Microsoft::AspNetCore::Http::EndpointMetadataCollection ^ metadata, System::String ^ displayName);
public RouteEndpoint (Microsoft.AspNetCore.Http.RequestDelegate requestDelegate, Microsoft.AspNetCore.Routing.Patterns.RoutePattern routePattern, int order, Microsoft.AspNetCore.Http.EndpointMetadataCollection metadata, string displayName);
public RouteEndpoint (Microsoft.AspNetCore.Http.RequestDelegate requestDelegate, Microsoft.AspNetCore.Routing.Patterns.RoutePattern routePattern, int order, Microsoft.AspNetCore.Http.EndpointMetadataCollection? metadata, string? displayName);
new Microsoft.AspNetCore.Routing.RouteEndpoint : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.AspNetCore.Routing.Patterns.RoutePattern * int * Microsoft.AspNetCore.Http.EndpointMetadataCollection * string -> Microsoft.AspNetCore.Routing.RouteEndpoint
Public Sub New (requestDelegate As RequestDelegate, routePattern As RoutePattern, order As Integer, metadata As EndpointMetadataCollection, displayName As String)

매개 변수

requestDelegate
RequestDelegate

엔드포인트에 대한 요청을 처리하는 데 사용되는 대리자입니다.

routePattern
RoutePattern

RoutePattern URL 일치에 사용할 입니다.

order
Int32

엔드포인트에 할당된 순서입니다.

metadata
EndpointMetadataCollection

EndpointMetadataCollection 엔드포인트와 연결된 또는 메타데이터입니다.

displayName
String

엔드포인트의 정보 표시 이름입니다.

적용 대상