protected void TraceMessageReceived(EventTraceActivity eventTraceActivity, Uri listenUri) { if (TD.HttpMessageReceiveStartIsEnabled()) { TD.HttpMessageReceiveStart(eventTraceActivity); } }
static void TraceMessageReceiveFailed() { if (TD.HttpMessageReceiveStartIsEnabled()) { TD.HttpMessageReceiveFailed(); } if (DiagnosticUtility.ShouldTraceWarning) { TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.HttpChannelMessageReceiveFailed, SR.GetString(SR.TraceCodeHttpChannelMessageReceiveFailed), (object)null); } }