Megosztás a következőn keresztül:


EventData.RequestMessage Field

Definition

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 

Field Value

Applies to