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

EventData.ResponseMessage Field

Definition

If the event triggers after the response is back, this will contain the Response Message (which in HTTP calls would be HttpResponseMessage)

Typically you'd cast this to the expected type to use it:

if(eventData.ResponseMessage is HttpResponseMessage httpResponse){
  var flavor = httpResponse.Headers.GetValue("x-request-flavor");
}
public object ResponseMessage;
val mutable ResponseMessage : obj
Public ResponseMessage As Object 

Field Value

Applies to