132 references to FxTrace
dotnet-svcutil-lib (132)
FrameworkFork\System.ServiceModel\Internals\FxTrace.cs (5)
49return FxTrace.s_diagnosticTrace; 82if (null == FxTrace.s_diagnosticTrace) 84lock (FxTrace.s_lockObject) 86if (null == FxTrace.s_diagnosticTrace) 88FxTrace.s_diagnosticTrace = InitializeTracing();
FrameworkFork\System.ServiceModel\Internals\WcfEventSource.cs (3)
856TracePayload payload = FxTrace.Trace.GetSerializedPayload(source, null, null); 877TracePayload payload = FxTrace.Trace.GetSerializedPayload(source, null, null); 1176TracePayload payload = FxTrace.Trace.GetSerializedPayload(source, null, null);
FrameworkFork\System.ServiceModel\SMDiagnostics\DiagnosticUtility.cs (1)
50DiagnosticUtility.s_exceptionUtility = new ExceptionUtility(DiagnosticUtility.TraceSourceName, DiagnosticUtility.EventSourceName, FxTrace.Exception);
FrameworkFork\System.ServiceModel\SMDiagnostics\System\ServiceModel\Diagnostics\ExceptionUtility.cs (1)
106FxTrace.Exception.TraceEtwException(exception, eventLevel);
FrameworkFork\System.ServiceModel\System\ServiceModel\BasicHttpsBinding.cs (1)
39throw FxTrace.Exception.ArgumentNull("value");
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ApplicationContainerSettings.cs (1)
46throw FxTrace.Exception.Argument("value", string.Format(SRServiceModel.SessionValueInvalid, value));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\BinaryMessageEncoder.cs (2)
832throw FxTrace.Exception.AsError(new ProtocolException(string.Format(SRServiceModel.EncoderUnrecognizedContentType, contentType, this.ContentType))); 851throw FxTrace.Exception.AsError(new ProtocolException(string.Format(SRServiceModel.EncoderUnrecognizedContentType, contentType, this.ContentType)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\BinaryMessageEncodingBindingElement.cs (1)
173throw FxTrace.Exception.AsError(new NotSupportedException(string.Format(
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (8)
102FxTrace.Exception.AsWarning(communicationObjectAbortedException); 159throw FxTrace.Exception.AsError(new CommunicationException(string.Format(SRServiceModel.WebSocketVersionMismatchFromServer, ""), ex)); 161throw FxTrace.Exception.AsError(new CommunicationException(string.Format(SRServiceModel.WebSocketSubProtocolMismatchFromServer, ""), ex)); 166throw FxTrace.Exception.AsError(new CommunicationException(ex.Message, ex)); 224throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(SRServiceModel.ClientWebSocketFactory_CreateWebSocketFailed, _connectionFactory.GetType().Name), e)); 230throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(SRServiceModel.ClientWebSocketFactory_InvalidWebSocket, _connectionFactory.GetType().Name))); 236throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(SRServiceModel.ClientWebSocketFactory_InvalidWebSocket, _connectionFactory.GetType().Name))); 244throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(SRServiceModel.ClientWebSocketFactory_InvalidSubProtocol, _connectionFactory.GetType().Name, obtained, requested)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelFactory.cs (3)
443throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format( 455throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format( 1167throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpMessageHandlerFactory.cs (11)
43throw FxTrace.Exception.ArgumentNull("handlers"); 48throw FxTrace.Exception.Argument("handlers", SRServiceModel.InputTypeListEmptyError); 57throw FxTrace.Exception.Argument( 64throw FxTrace.Exception.Argument( 72throw FxTrace.Exception.Argument( 96throw FxTrace.Exception.ArgumentNull("handlers"); 121throw FxTrace.Exception.ArgumentNull("innerChannel"); 138throw FxTrace.Exception.ArgumentNull("innerChannel"); 154throw FxTrace.Exception.Argument("handlers", string.Format(SRServiceModel.DelegatingHandlerArrayFromFuncContainsNullItem, s_delegatingHandlerType.Name, GetFuncDetails(_handlerFunc))); 172throw FxTrace.Exception.AsError(targetInvocationException); 183throw FxTrace.Exception.Argument("handlers", string.Format(SRServiceModel.DelegatingHandlerArrayHasNonNullInnerHandler, s_delegatingHandlerType.Name, "InnerHandler", handler.GetType().Name));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpRequestMessageExtensionMethods.cs (1)
38throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpsChannelFactory.cs (2)
197FxTrace.Exception.AsInformation(ex); 207FxTrace.Exception.AsWarning(ex);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpsTransportBindingElement.cs (1)
98throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(SRServiceModel.HttpPipelineNotSupportedOnClientSide, "MessageHandlerFactory")));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpTransportBindingElement.cs (1)
468throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(SRServiceModel.HttpPipelineNotSupportedOnClientSide, "MessageHandlerFactory")));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannel.cs (1)
631if (FxTrace.Trace.IsEnd2EndActivityTracingEnabled)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (1)
468if (FxTrace.Trace.IsEnd2EndActivityTracingEnabled)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportOutputChannel.cs (1)
54if (FxTrace.Trace.IsEnd2EndActivityTracingEnabled)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\UdpRetransmissionSettings.cs (12)
39throw FxTrace.Exception.ArgumentOutOfRange("maxUnicastRetransmitCount", maxUnicastRetransmitCount, 45throw FxTrace.Exception.ArgumentOutOfRange("maxMulticastRetransmitCount", maxMulticastRetransmitCount, 52throw FxTrace.Exception.ArgumentOutOfRange("delayLowerBound", delayLowerBound, string.Format(SRServiceModel.ArgumentOutOfMinRange, TimeSpan.Zero)); 57throw FxTrace.Exception.ArgumentOutOfRange("delayUpperBound", delayUpperBound, string.Format(SRServiceModel.ArgumentOutOfMinRange, TimeSpan.Zero)); 62throw FxTrace.Exception.ArgumentOutOfRange("maxDelayPerRetransmission", maxDelayPerRetransmission, 96throw FxTrace.Exception.ArgumentOutOfRange("value", value, string.Format(SRServiceModel.ArgumentOutOfMinRange, min)); 114throw FxTrace.Exception.ArgumentOutOfRange("value", value, string.Format(SRServiceModel.ArgumentOutOfMinRange, min)); 130throw FxTrace.Exception.ArgumentOutOfRange("value", value, string.Format(SRServiceModel.ArgumentOutOfMinRange, TimeSpan.Zero)); 148throw FxTrace.Exception.ArgumentOutOfRange("value", value, string.Format(SRServiceModel.ArgumentOutOfMinRange, TimeSpan.Zero)); 166throw FxTrace.Exception.ArgumentOutOfRange("value", value, string.Format(SRServiceModel.ArgumentOutOfMinRange, TimeSpan.Zero)); 220throw FxTrace.Exception.ArgumentOutOfRange("DelayLowerBound", _delayLowerBound, "TODO: "); // SR.Property1LessThanOrEqualToProperty2("DelayLowerBound", this.delayLowerBound, "DelayUpperBound", this.delayUpperBound)); 226throw FxTrace.Exception.ArgumentOutOfRange("DelayUpperBound", _delayUpperBound, "TODO: "); // SR.Property1LessThanOrEqualToProperty2("DelayUpperBound", this.delayUpperBound, "MaxDelayPerRetransmission", this.maxDelayPerRetransmission));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\UdpTransportBindingElement.cs (7)
61throw FxTrace.Exception.ArgumentOutOfRange("value", value, 81throw FxTrace.Exception.ArgumentOutOfRange("value", value, 102throw FxTrace.Exception.ArgumentNull("value"); 122throw FxTrace.Exception.ArgumentOutOfRange("value", value, 138throw FxTrace.Exception.ArgumentOutOfRange("value", value, "TODO: SR"); 154throw FxTrace.Exception.ArgumentNull("context"); 164throw FxTrace.Exception.ArgumentNull("context");
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\UdpTransportImporter.cs (2)
67throw FxTrace.Exception.ArgumentNull("context"); 72throw FxTrace.Exception.ArgumentNull("context.Endpoint.Binding");
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketHelper.cs (11)
141FxTrace.Exception.AsWarning(communicationObjectAbortedException); 148Exception exception = FxTrace.Exception.AsError<OperationCanceledException>(aggregationException); 153FxTrace.Exception.AsWarning(timeoutException); 161FxTrace.Exception.AsWarning(communicationException); 166return FxTrace.Exception.AsError(communicationException); 171return FxTrace.Exception.AsError(ex); 178Exception exception = FxTrace.Exception.AsError<Exception>(ex); 193throw FxTrace.Exception.AsError<CommunicationException>(task.Exception); 197throw FxTrace.Exception.AsError(GetTimeoutException(null, timeout, operation)); 206return FxTrace.Exception.AsError<CommunicationException>(task.Exception); 210throw FxTrace.Exception.AsError(GetTimeoutException(null, timeout, operation));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (16)
317FxTrace.Exception.TraceUnhandledException(ex); 353throw FxTrace.Exception.AsError(exceptionToThrow); 523throw FxTrace.Exception.AsError(new TimeoutException( 546throw FxTrace.Exception.AsError(new TimeoutException( 592_pendingException = FxTrace.Exception.AsError(new QuotaExceededException(string.Format(SRServiceModel.MaxReceivedMessageSizeExceeded, _maxBufferSize))); 729throw FxTrace.Exception.AsError(new InvalidOperationException()); 961get { throw FxTrace.Exception.AsError(new NotSupportedException(InternalSR.SeekNotSupported)); } 968throw FxTrace.Exception.AsError(new NotSupportedException(InternalSR.SeekNotSupported)); 973throw FxTrace.Exception.AsError(new NotSupportedException(InternalSR.SeekNotSupported)); 1024throw FxTrace.Exception.AsError(WebSocketHelper.GetTimeoutException(null, 1103throw FxTrace.Exception.AsError(new NotSupportedException("this method should never get called")); 1108throw FxTrace.Exception.AsError(new NotSupportedException()); 1113throw FxTrace.Exception.AsError(new NotSupportedException()); 1120throw FxTrace.Exception.AsError(new NotSupportedException("this method should never get called")); 1127throw FxTrace.Exception.AsError(new InvalidOperationException(SRServiceModel.WebSocketStreamWriteCalledAfterEOMSent)); 1243throw FxTrace.Exception.AsError(new ProtocolException(SRServiceModel.WebSocketUnexpectedCloseMessageError));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketTransportSettings.cs (3)
100throw FxTrace.Exception.Argument("value", SRServiceModel.WebSocketInvalidProtocolEmptySubprotocolString); 105throw FxTrace.Exception.Argument("value", string.Format(SRServiceModel.WebSocketInvalidProtocolContainsMultipleSubProtocolString, value)); 111throw FxTrace.Exception.Argument("value", string.Format(SRServiceModel.WebSocketInvalidProtocolInvalidCharInProtocolString, value, invalidChar));
FrameworkFork\System.ServiceModel\System\ServiceModel\Diagnostics\EventTraceActivityHelper.cs (1)
18if (FxTrace.Trace.IsEnd2EndActivityTracingEnabled && (message != null) && (activity != null))
FrameworkFork\System.ServiceModel\System\ServiceModel\Diagnostics\ServiceModelActivity.cs (4)
212if (null != FxTrace.Trace) 214FxTrace.Trace.TraceTransfer(activityId); 420if (null != FxTrace.Trace) 422FxTrace.Trace.TraceTransfer(this.parentId);
FrameworkFork\System.ServiceModel\System\ServiceModel\Diagnostics\TraceUtility.cs (5)
145if (null != FxTrace.Trace) 147FxTrace.Trace.TraceTransfer(activity.Id); 417FxTrace.Trace.SetAndTraceTransfer(activityId, !createNewActivityId); 481if (null != FxTrace.Trace) 483FxTrace.Trace.TraceTransfer(guid);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ChannelHandler.cs (1)
1274if (FxTrace.Trace.IsEnd2EndActivityTracingEnabled && message != null)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (2)
340FxTrace.Trace.SetAndTraceTransfer(TraceUtility.GetReceivedActivityId(rpc.OperationContext), true); 346FxTrace.Trace.SetAndTraceTransfer(rpc.ResponseActivityId, true);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (2)
986if (null != FxTrace.Trace) 988FxTrace.Trace.TraceTransfer(_activity.Id);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (2)
237if (FxTrace.Trace.IsEnd2EndActivityTracingEnabled && rpc.EventTraceActivity != null) 380if (FxTrace.Trace.IsEnd2EndActivityTracingEnabled && rpc.EventTraceActivity != null)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\MessageRpc.cs (1)
138if (this.EventTraceActivity == null && FxTrace.Trace.IsEnd2EndActivityTracingEnabled)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\TaskMethodInvoker.cs (2)
103throw FxTrace.Exception.AsError<FaultException>(ae); 112throw FxTrace.Exception.AsError(new TaskCanceledException(task));
FrameworkFork\System.ServiceModel\System\ServiceModel\HttpBindingBase.cs (1)
121throw FxTrace.Exception.ArgumentNull("value");
FrameworkFork\System.ServiceModel\System\ServiceModel\NetHttpBinding.cs (3)
71throw FxTrace.Exception.ArgumentNull("value"); 89throw FxTrace.Exception.ArgumentNull("value"); 118throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(SRServiceModel.HttpClientCredentialTypeInvalid, this.BasicHttpSecurity.Transport.ClientCredentialType)));
FrameworkFork\System.ServiceModel\System\ServiceModel\NetHttpsBinding.cs (2)
46throw FxTrace.Exception.ArgumentNull("value"); 75throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(SRServiceModel.HttpClientCredentialTypeInvalid, BasicHttpSecurity.Transport.ClientCredentialType)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\IdentityVerifier.cs (1)
217if (FxTrace.Trace.IsEnd2EndActivityTracingEnabled)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityTokenSerializer.cs (8)
271throw FxTrace.Exception.AsError(new MessageSecurityException(ex.Message)); 283throw FxTrace.Exception.AsError(new MessageSecurityException(ex.Message)); 295throw FxTrace.Exception.AsError(new MessageSecurityException(ex.Message)); 307throw FxTrace.Exception.AsError(new MessageSecurityException(ex.Message)); 319throw FxTrace.Exception.AsError(new MessageSecurityException(ex.Message)); 331throw FxTrace.Exception.AsError(new MessageSecurityException(ex.Message)); 343throw FxTrace.Exception.AsError(new MessageSecurityException(ex.Message)); 355throw FxTrace.Exception.AsError(new MessageSecurityException(ex.Message));
FrameworkFork\System.ServiceModel\System\ServiceModel\UdpBinding.cs (1)
121throw FxTrace.Exception.ArgumentNull("value");