92 references to FxTrace
System.ServiceModel.Http (50)
System\ServiceModel\BasicHttpsBinding.cs (1)
34_basicHttpsSecurity = value ?? throw FxTrace.Exception.ArgumentNull("value");
System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (5)
86FxTrace.Exception.AsWarning(communicationObjectAbortedException); 134throw FxTrace.Exception.AsError(new InvalidOperationException(SR.Format(SR.WebSocketInvalidProtocolNotInClientList, obtained, requested))); 259throw FxTrace.Exception.AsError(new CommunicationException(SR.Format(SR.WebSocketVersionMismatchFromServer, ""), ex)); 261throw FxTrace.Exception.AsError(new CommunicationException(SR.Format(SR.WebSocketSubProtocolMismatchFromServer, ""), ex)); 266throw FxTrace.Exception.AsError(new CommunicationException(ex.Message, ex));
System\ServiceModel\Channels\HttpChannelFactory.cs (3)
526throw FxTrace.Exception.AsError(new InvalidOperationException(SR.Format( 538throw FxTrace.Exception.AsError(new InvalidOperationException(SR.Format( 1282throw FxTrace.Exception.AsError(new InvalidOperationException(SR.Format(
System\ServiceModel\Channels\HttpsChannelFactory.cs (4)
223FxTrace.Exception.AsInformation(ex); 233FxTrace.Exception.AsWarning(ex); 254FxTrace.Exception.AsInformation(ex); 264FxTrace.Exception.AsWarning(ex);
System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (1)
411if (FxTrace.Trace.IsEnd2EndActivityTracingEnabled)
System\ServiceModel\Channels\WebSocketHelper.cs (11)
140FxTrace.Exception.AsWarning(communicationObjectAbortedException); 147Exception exception = FxTrace.Exception.AsError<OperationCanceledException>(aggregationException); 152FxTrace.Exception.AsWarning(timeoutException); 160FxTrace.Exception.AsWarning(communicationException); 165return FxTrace.Exception.AsError(communicationException); 170return FxTrace.Exception.AsError(ex); 177Exception exception = FxTrace.Exception.AsError<Exception>(ex); 192throw FxTrace.Exception.AsError<CommunicationException>(task.Exception); 196throw FxTrace.Exception.AsError(GetTimeoutException(null, timeout, operation)); 205return FxTrace.Exception.AsError<CommunicationException>(task.Exception); 209throw FxTrace.Exception.AsError(GetTimeoutException(null, timeout, operation));
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (15)
296FxTrace.Exception.TraceUnhandledException(ex); 332throw FxTrace.Exception.AsError(exceptionToThrow); 507throw FxTrace.Exception.AsError(new TimeoutException( 564_pendingException = FxTrace.Exception.AsError(new QuotaExceededException(SR.Format(SR.MaxReceivedMessageSizeExceeded, _maxBufferSize))); 701throw FxTrace.Exception.AsError(new InvalidOperationException()); 933get { throw FxTrace.Exception.AsError(new NotSupportedException(InternalSR.SeekNotSupported)); } 940throw FxTrace.Exception.AsError(new NotSupportedException(InternalSR.SeekNotSupported)); 945throw FxTrace.Exception.AsError(new NotSupportedException(InternalSR.SeekNotSupported)); 996throw FxTrace.Exception.AsError(WebSocketHelper.GetTimeoutException(null, 1075throw FxTrace.Exception.AsError(new NotSupportedException("this method should never get called")); 1080throw FxTrace.Exception.AsError(new NotSupportedException()); 1085throw FxTrace.Exception.AsError(new NotSupportedException()); 1092throw FxTrace.Exception.AsError(new NotSupportedException("this method should never get called")); 1099throw FxTrace.Exception.AsError(new InvalidOperationException(SR.WebSocketStreamWriteCalledAfterEOMSent)); 1215throw FxTrace.Exception.AsError(new ProtocolException(SR.WebSocketUnexpectedCloseMessageError));
System\ServiceModel\Channels\WebSocketTransportSettings.cs (3)
100throw FxTrace.Exception.Argument("value", SR.WebSocketInvalidProtocolEmptySubprotocolString); 105throw FxTrace.Exception.Argument("value", SR.Format(SR.WebSocketInvalidProtocolContainsMultipleSubProtocolString, value)); 111throw FxTrace.Exception.Argument("value", SR.Format(SR.WebSocketInvalidProtocolInvalidCharInProtocolString, value, invalidChar));
System\ServiceModel\HttpBindingBase.cs (1)
136throw FxTrace.Exception.ArgumentNull("value");
System\ServiceModel\NetHttpBinding.cs (3)
54_basicHttpSecurity = value ?? throw FxTrace.Exception.ArgumentNull(nameof(value)); 69throw FxTrace.Exception.ArgumentNull(nameof(value)); 98throw FxTrace.Exception.AsError(new InvalidOperationException(SR.Format(SR.HttpClientCredentialTypeInvalid, BasicHttpSecurity.Transport.ClientCredentialType)));
System\ServiceModel\NetHttpsBinding.cs (3)
47_basicHttpsSecurity = value ?? throw FxTrace.Exception.ArgumentNull(nameof(value)); 69throw FxTrace.Exception.ArgumentNull(nameof(value)); 90throw FxTrace.Exception.AsError(new InvalidOperationException(SR.Format(SR.HttpClientCredentialTypeInvalid, BasicHttpSecurity.Transport.ClientCredentialType)));
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (1)
362if (FxTrace.Trace.IsEnd2EndActivityTracingEnabled)
System.ServiceModel.Primitives (41)
Internals\WcfEventSource.cs (8)
867TracePayload payload = FxTrace.Trace.GetSerializedPayload(source, null, null); 887TracePayload payload = FxTrace.Trace.GetSerializedPayload(source, null, null); 907TracePayload payload = FxTrace.Trace.GetSerializedPayload(source, null, null); 927TracePayload payload = FxTrace.Trace.GetSerializedPayload(source, null, null); 946TracePayload payload = FxTrace.Trace.GetSerializedPayload(source, null, null); 966TracePayload payload = FxTrace.Trace.GetSerializedPayload(source, null, null); 1360TracePayload serializedPayload = FxTrace.Trace.GetSerializedPayload(null, null, exception); 1417TracePayload payload = FxTrace.Trace.GetSerializedPayload(source, null, null);
SMDiagnostics\DiagnosticUtility.cs (1)
54FxTrace.Exception.TraceHandledException(exception, traceEventType);
SMDiagnostics\System\ServiceModel\Diagnostics\ExceptionUtility.cs (2)
135FxTrace.Exception.TraceEtwException(exception, eventLevel); 146FxTrace.Exception.TraceEtwException(exception, eventType);
System\ServiceModel\Channels\BinaryMessageEncoder.cs (2)
830throw FxTrace.Exception.AsError(new ProtocolException(SRP.Format(SRP.EncoderUnrecognizedContentType, contentType, ContentType))); 849throw FxTrace.Exception.AsError(new ProtocolException(SRP.Format(SRP.EncoderUnrecognizedContentType, contentType, ContentType)));
System\ServiceModel\Channels\BinaryMessageEncodingBindingElement.cs (1)
161throw FxTrace.Exception.AsError(new NotSupportedException(SRP.Format(
System\ServiceModel\Channels\ServiceChannel.cs (1)
626if (FxTrace.Trace.IsEnd2EndActivityTracingEnabled)
System\ServiceModel\Channels\TransportOutputChannel.cs (1)
51if (FxTrace.Trace.IsEnd2EndActivityTracingEnabled)
System\ServiceModel\Diagnostics\EventTraceActivityHelper.cs (1)
18if (FxTrace.Trace.IsEnd2EndActivityTracingEnabled && (message != null) && (activity != null))
System\ServiceModel\Diagnostics\ServiceModelActivity.cs (4)
187if (null != FxTrace.Trace) 189FxTrace.Trace.TraceTransfer(activityId); 384if (null != FxTrace.Trace) 386FxTrace.Trace.TraceTransfer(parentId);
System\ServiceModel\Diagnostics\TraceUtility.cs (5)
187FxTrace.Trace.SetAndTraceTransfer(activityId, !createNewActivityId); 212if (null != FxTrace.Trace) 214FxTrace.Trace.TraceTransfer(activity.Id); 572if (null != FxTrace.Trace) 574FxTrace.Trace.TraceTransfer(guid);
System\ServiceModel\Dispatcher\ChannelHandler.cs (1)
1281if (FxTrace.Trace.IsEnd2EndActivityTracingEnabled && message != null)
System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (2)
298FxTrace.Trace.SetAndTraceTransfer(TraceUtility.GetReceivedActivityId(rpc.OperationContext), true); 304FxTrace.Trace.SetAndTraceTransfer(rpc.ResponseActivityId, true);
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (2)
1001if (null != FxTrace.Trace) 1003FxTrace.Trace.TraceTransfer(_activity.Id);
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (2)
303if (FxTrace.Trace.IsEnd2EndActivityTracingEnabled && rpc.EventTraceActivity != null) 448if (FxTrace.Trace.IsEnd2EndActivityTracingEnabled && rpc.EventTraceActivity != null)
System\ServiceModel\Dispatcher\MessageRpc.cs (1)
134if (EventTraceActivity == null && FxTrace.Trace.IsEnd2EndActivityTracingEnabled)
System\ServiceModel\Dispatcher\TaskMethodInvoker.cs (2)
98throw FxTrace.Exception.AsError<FaultException>(ae); 107throw FxTrace.Exception.AsError(new TaskCanceledException(task));
System\ServiceModel\Security\IdentityVerifier.cs (1)
219if (FxTrace.Trace.IsEnd2EndActivityTracingEnabled)
System\ServiceModel\Security\WSSecurityTokenSerializer.cs (4)
286throw FxTrace.Exception.AsError(new MessageSecurityException(ex.Message)); 303throw FxTrace.Exception.AsError(new MessageSecurityException(ex.Message)); 320throw FxTrace.Exception.AsError(new MessageSecurityException(ex.Message)); 337throw FxTrace.Exception.AsError(new MessageSecurityException(ex.Message));