共用方式為


HttpRequestMessageHttpContextExtensions.GetHttpRequestMessage 方法

定義

public:
[System::Runtime::CompilerServices::Extension]
 static System::Net::Http::HttpRequestMessage ^ GetHttpRequestMessage(Microsoft::AspNetCore::Http::HttpContext ^ httpContext);
public static System.Net.Http.HttpRequestMessage GetHttpRequestMessage (this Microsoft.AspNetCore.Http.HttpContext httpContext);
static member GetHttpRequestMessage : Microsoft.AspNetCore.Http.HttpContext -> System.Net.Http.HttpRequestMessage
<Extension()>
Public Function GetHttpRequestMessage (httpContext As HttpContext) As HttpRequestMessage

參數

httpContext
HttpContext

傳回

適用於