次の方法で共有


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

適用対象