다음을 통해 공유


EndpointHttpContextExtensions.SetEndpoint(HttpContext, Endpoint) 메서드

정의

현재 요청에 대한 를 설정하기 Endpoint 위한 확장 메서드입니다.

public:
[System::Runtime::CompilerServices::Extension]
 static void SetEndpoint(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Http::Endpoint ^ endpoint);
public static void SetEndpoint (this Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Http.Endpoint endpoint);
public static void SetEndpoint (this Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Http.Endpoint? endpoint);
static member SetEndpoint : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Http.Endpoint -> unit
<Extension()>
Public Sub SetEndpoint (context As HttpContext, endpoint As Endpoint)

매개 변수

context
HttpContext

컨텍스트입니다 HttpContext .

endpoint
Endpoint

Endpoint

적용 대상