Share via


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;

Field Value

Applies to

Product Versions
Azure - PowerShell Commands 12 (LTS), Latest