public void AcceptDistributedTracePayload(string payload, int transportType) { try { using (new IgnoreWork()) { _apiSupportabilityMetricCounters.Record(ApiMethod.AcceptDistributedTracePayload); _transaction.AcceptDistributedTracePayload(payload, GetTransportTypeValue(transportType)); } } catch (Exception ex) { try { Log.ErrorFormat("Error in AcceptDistributedTracePayload(string): {0}", ex); } catch (Exception) { //Swallow the error } } }