EventData.RequestMessage Field
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.
If the event triggers after the request message has been created, this will contain the Request Message (which in HTTP calls would be HttpRequestMessage)
Typically you'd cast this to the expected type to use it:
if(eventData.RequestMessgae is HttpRequestMessage httpRequest)
{
httpRequest.Headers.Add("x-request-flavor", "vanilla");
}
public object RequestMessage;
val mutable RequestMessage : obj
Public RequestMessage As Object