다음을 통해 공유


EndpointHttpContextExtensions.GetEndpoint(HttpContext) 메서드

정의

현재 요청에 대한 를 Endpoint 가져오기 위한 확장 메서드입니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Http::Endpoint ^ GetEndpoint(Microsoft::AspNetCore::Http::HttpContext ^ context);
public static Microsoft.AspNetCore.Http.Endpoint GetEndpoint (this Microsoft.AspNetCore.Http.HttpContext context);
public static Microsoft.AspNetCore.Http.Endpoint? GetEndpoint (this Microsoft.AspNetCore.Http.HttpContext context);
static member GetEndpoint : Microsoft.AspNetCore.Http.HttpContext -> Microsoft.AspNetCore.Http.Endpoint
<Extension()>
Public Function GetEndpoint (context As HttpContext) As Endpoint

매개 변수

context
HttpContext

컨텍스트입니다 HttpContext .

반환

Endpoint

적용 대상