HttpRequestMessageExtensions.GetRequestContext(HttpRequestMessage) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a GraphRequestContext from HttpRequestMessage
public static Microsoft.Graph.GraphRequestContext GetRequestContext (this System.Net.Http.HttpRequestMessage httpRequestMessage);
static member GetRequestContext : System.Net.Http.HttpRequestMessage -> Microsoft.Graph.GraphRequestContext
<Extension()>
Public Function GetRequestContext (httpRequestMessage As HttpRequestMessage) As GraphRequestContext
Parameters
- httpRequestMessage
- HttpRequestMessage
The HttpRequestMessage representation of the request.