你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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