public void SendRequest(string invocationId, System.Net.Http.HttpRequestMessage request) { // CmdletInfoHandler sets/updates x-ms-client-request-id during SendAsync() no matter if SDK sets x-ms-client-request-id. // Update request here to ensure its value consistent with real result. if (request != null && clientRequestId != null) { request.AddClientRequestId(clientRequestId); } MessageQueue.CheckAndEnqueue(GeneralUtilities.GetLog(request, Matchers)); }