882 references to TraceUtility
System.ServiceModel (882)
System\ServiceModel\Administration\AppDomainInstanceProvider.cs (4)
148TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.WmiPut, SR.GetString(SR.TraceCodeWmiPut), 161TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.WmiPut, SR.GetString(SR.TraceCodeWmiPut), 174TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.WmiPut, SR.GetString(SR.TraceCodeWmiPut), 187TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.WmiPut, SR.GetString(SR.TraceCodeWmiPut),
System\ServiceModel\Administration\WbemProvider.cs (6)
64TraceUtility.CreateSourceString(this), 81TraceUtility.CreateSourceString(this), 240TraceUtility.CreateSourceString(this), e.ToString()); 249TraceUtility.CreateSourceString(this), e.ToString()); 361TraceUtility.CreateSourceString(this), e.ToString()); 370TraceUtility.CreateSourceString(this), e.ToString());
System\ServiceModel\ChannelFactory.cs (1)
29TraceUtility.SetEtwProviderId();
System\ServiceModel\Channels\ChannelBase.cs (4)
25TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.ChannelCreated, 26SR.GetString(SR.TraceCodeChannelCreated, TraceUtility.CreateSourceString(this)), this); 101TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.ChannelDisposed, 102SR.GetString(SR.TraceCodeChannelDisposed, TraceUtility.CreateSourceString(this)), this);
System\ServiceModel\Channels\ChannelDemuxer.cs (3)
306TraceUtility.TraceEvent(TraceEventType.Error, TraceCode.PrematureDatagramEof, SR.GetString(SR.TraceCodePrematureDatagramEof), 1241TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.MessageReceived, SR.GetString(SR.TraceCodeMessageReceived), 2290throw TraceUtility.ThrowHelperError(new EndpointNotFoundException(SR.GetString(SR.UnableToDemuxChannel, message.Headers.Action)), message);
System\ServiceModel\Channels\ClientContextProtocol.cs (1)
327TraceUtility.TraceEvent(System.Diagnostics.TraceEventType.Verbose,
System\ServiceModel\Channels\ClientReliableChannelBinder.cs (1)
548this.inputMessages = TraceUtility.CreateInputQueue<Message>();
System\ServiceModel\Channels\CommunicationObject.cs (60)
116TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.CommunicationObjectAborted, SR.GetString(SR.TraceCodeCommunicationObjectAborted, TraceUtility.CreateSourceString(this)), this); 125throw TraceUtility.ThrowHelperError(this.CreateBaseClassMethodNotCalledException("OnClosing"), Guid.Empty, this); 131throw TraceUtility.ThrowHelperError(this.CreateBaseClassMethodNotCalledException("OnClosed"), Guid.Empty, this); 140TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.CommunicationObjectAbortFailed, SR.GetString(SR.TraceCodeCommunicationObjectAbortFailed, this.GetCommunicationObjectType().ToString()), this); 180throw TraceUtility.ThrowHelperError(this.CreateFaultedException(), Guid.Empty, this); 191throw TraceUtility.ThrowHelperError(this.CreateBaseClassMethodNotCalledException("OnClosing"), Guid.Empty, this); 203TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.CommunicationObjectCloseFailed, SR.GetString(SR.TraceCodeCommunicationObjectCloseFailed, this.GetCommunicationObjectType().ToString()), this); 243throw TraceUtility.ThrowHelperError(this.CreateBaseClassMethodNotCalledException("OnOpening"), Guid.Empty, this); 255TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.CommunicationObjectOpenFailed, SR.GetString(SR.TraceCodeCommunicationObjectOpenFailed, this.GetCommunicationObjectType().ToString()), this); 299throw TraceUtility.ThrowHelperError(this.CreateFaultedException(), Guid.Empty, this); 312throw TraceUtility.ThrowHelperError(this.CreateBaseClassMethodNotCalledException("OnClosing"), Guid.Empty, this); 318throw TraceUtility.ThrowHelperError(this.CreateBaseClassMethodNotCalledException("OnClosed"), Guid.Empty, this); 328TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.CommunicationObjectCloseFailed, SR.GetString(SR.TraceCodeCommunicationObjectCloseFailed, this.GetCommunicationObjectType().ToString()), this); 434throw TraceUtility.ThrowHelperError(this.CreateNotOpenException(), Guid.Empty, this); 437throw TraceUtility.ThrowHelperError(this.CreateNotOpenException(), Guid.Empty, this); 498TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.CommunicationObjectFaultReason, 589throw TraceUtility.ThrowHelperError(this.CreateBaseClassMethodNotCalledException("OnOpening"), Guid.Empty, this); 595throw TraceUtility.ThrowHelperError(this.CreateBaseClassMethodNotCalledException("OnOpened"), Guid.Empty, this); 605TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.CommunicationObjectOpenFailed, SR.GetString(SR.TraceCodeCommunicationObjectOpenFailed, this.GetCommunicationObjectType().ToString()), this); 628TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.CommunicationObjectClosed, SR.GetString(SR.TraceCodeCommunicationObjectClosed, TraceUtility.CreateSourceString(this)), this); 661TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.CommunicationObjectClosing, SR.GetString(SR.TraceCodeCommunicationObjectClosing, TraceUtility.CreateSourceString(this)), this); 691TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.CommunicationObjectFaulted, SR.GetString(SR.TraceCodeCommunicationObjectFaulted, this.GetCommunicationObjectType().ToString()), this); 723TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.CommunicationObjectOpened, SR.GetString(SR.TraceCodeCommunicationObjectOpened, TraceUtility.CreateSourceString(this)), this); 748TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.CommunicationObjectOpening, SR.GetString(SR.TraceCodeCommunicationObjectOpening, TraceUtility.CreateSourceString(this)), this); 790throw TraceUtility.ThrowHelperError(this.CreateFaultedException(), Guid.Empty, this); 801throw TraceUtility.ThrowHelperError(CreateAbortedException(), Guid.Empty, this); 836throw TraceUtility.ThrowHelperError(this.CreateClosedException(), Guid.Empty, this); 839throw TraceUtility.ThrowHelperError(this.CreateFaultedException(), Guid.Empty, this); 867throw TraceUtility.ThrowHelperError(this.CreateClosedException(), Guid.Empty, this); 870throw TraceUtility.ThrowHelperError(this.CreateClosedException(), Guid.Empty, this); 873throw TraceUtility.ThrowHelperError(this.CreateFaultedException(), Guid.Empty, this); 893throw TraceUtility.ThrowHelperError(this.CreateImmutableException(), Guid.Empty, this); 896throw TraceUtility.ThrowHelperError(this.CreateImmutableException(), Guid.Empty, this); 899throw TraceUtility.ThrowHelperError(this.CreateClosedException(), Guid.Empty, this); 902throw TraceUtility.ThrowHelperError(this.CreateFaultedException(), Guid.Empty, this); 919throw TraceUtility.ThrowHelperError(this.CreateImmutableException(), Guid.Empty, this); 922throw TraceUtility.ThrowHelperError(this.CreateImmutableException(), Guid.Empty, this); 925throw TraceUtility.ThrowHelperError(this.CreateClosedException(), Guid.Empty, this); 928throw TraceUtility.ThrowHelperError(this.CreateClosedException(), Guid.Empty, this); 931throw TraceUtility.ThrowHelperError(this.CreateFaultedException(), Guid.Empty, this); 945throw TraceUtility.ThrowHelperError(this.CreateNotOpenException(), Guid.Empty, this); 948throw TraceUtility.ThrowHelperError(this.CreateNotOpenException(), Guid.Empty, this); 954throw TraceUtility.ThrowHelperError(this.CreateClosedException(), Guid.Empty, this); 957throw TraceUtility.ThrowHelperError(this.CreateClosedException(), Guid.Empty, this); 960throw TraceUtility.ThrowHelperError(this.CreateFaultedException(), Guid.Empty, this); 970throw TraceUtility.ThrowHelperError(this.CreateNotOpenException(), Guid.Empty, this); 980throw TraceUtility.ThrowHelperError(this.CreateNotOpenException(), Guid.Empty, this); 983throw TraceUtility.ThrowHelperError(this.CreateNotOpenException(), Guid.Empty, this); 992throw TraceUtility.ThrowHelperError(this.CreateClosedException(), Guid.Empty, this); 995throw TraceUtility.ThrowHelperError(this.CreateFaultedException(), Guid.Empty, this); 1012throw TraceUtility.ThrowHelperError(exception, Guid.Empty, this); 1121throw TraceUtility.ThrowHelperError( 1133TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.CommunicationObjectOpenFailed, 1195throw TraceUtility.ThrowHelperError( 1207TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.CommunicationObjectCloseFailed,
System\ServiceModel\Channels\ConnectAlgorithms.cs (2)
140TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.PeerMaintainerActivity, SR.GetString(SR.TraceCodePeerMaintainerActivity), 154TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.PeerMaintainerActivity, SR.GetString(SR.TraceCodePeerMaintainerActivity),
System\ServiceModel\Channels\ConnectionAcceptor.cs (1)
182TraceUtility.TraceEvent(TraceEventType.Warning,
System\ServiceModel\Channels\ConnectionDemuxer.cs (1)
158TraceUtility.TraceEvent(TraceEventType.Warning,
System\ServiceModel\Channels\ConnectionPool.cs (5)
184TraceUtility.TraceEvent(TraceEventType.Error, TraceCode.ConnectionPoolCloseException, SR.GetString(SR.TraceCodeConnectionPoolCloseException), this, exception); 195TraceUtility.TraceEvent(TraceEventType.Error, TraceCode.ConnectionPoolCloseException, SR.GetString(SR.TraceCodeConnectionPoolCloseException), this, exception); 591TraceUtility.TraceEvent(TraceEventType.Information, 791TraceUtility.TraceEvent( 1182TraceUtility.TraceEvent(
System\ServiceModel\Channels\ContentOnlyMessage.cs (2)
32throw TraceUtility.ThrowHelperError(CreateMessageDisposedException(), this); 46throw TraceUtility.ThrowHelperError(CreateMessageDisposedException(), this);
System\ServiceModel\Channels\ContextChannelFactory.cs (1)
38TraceUtility.TraceEvent(TraceEventType.Information,
System\ServiceModel\Channels\ContextChannelListener.cs (1)
74TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.ContextChannelListenerChannelAccepted,
System\ServiceModel\Channels\ContextProtocol.cs (1)
58TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.ContextProtocolContextAddedToMessage,
System\ServiceModel\Channels\DatagramAdapter.cs (1)
415TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.FailedToOpenIncomingChannel,
System\ServiceModel\Channels\HttpChannelFactory.cs (7)
598TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.HttpResponseReceived, SR.GetString(SR.TraceCodeHttpResponseReceived), new StringTraceRecord("ResponseUri", response.ResponseUri.ToString()), receiver, null, message); 602TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.HttpResponseReceived, SR.GetString(SR.TraceCodeHttpResponseReceived), receiver, message); 821throw TraceUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.ManualAddressingRequiresAddressedMessages)), message); 1632throw TraceUtility.ThrowHelperError(new CommunicationException(ioException.Message, 1637throw TraceUtility.ThrowHelperError(new CommunicationException(webException.Message, 1644throw TraceUtility.ThrowHelperError(new CommunicationObjectAbortedException(SR.GetString(SR.HttpRequestAborted, to.Uri), 1648throw TraceUtility.ThrowHelperError(new TimeoutException(SR.GetString(SR.HttpRequestTimedOut,
System\ServiceModel\Channels\HttpChannelHelpers.cs (7)
362TraceUtility.TransferFromTransport(message); 366TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.MessageReceived, SR.GetString(SR.TraceCodeMessageReceived), 499ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityProcessingMessage, TraceUtility.RetrieveMessageNumber()), ActivityType.ProcessMessage); 760ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityProcessingMessage, TraceUtility.RetrieveMessageNumber()), ActivityType.ProcessMessage); 1150TraceUtility.TraceEvent(TraceEventType.Warning, 2007TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.MessageSent, SR.GetString(SR.TraceCodeMessageSent), 3753TraceUtility.TraceEvent(TraceEventType.Error, TraceCode.HttpChannelUnexpectedResponse, SR.GetString(SR.TraceCodeHttpChannelUnexpectedResponse), (object)null, exception);
System\ServiceModel\Channels\HttpChannelListener.cs (2)
932TraceUtility.TraceEvent(TraceEventType.Warning, 1351TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.HttpAuthFailed, SR.GetString(SR.TraceCodeHttpAuthFailed), this);
System\ServiceModel\Channels\HttpsChannelListener.cs (4)
318TraceUtility.TraceEvent(TraceEventType.Error, TraceCode.HttpsClientCertificateNotPresent, SR.GetString(SR.TraceCodeHttpsClientCertificateNotPresent), 328TraceUtility.TraceEvent(TraceEventType.Error, TraceCode.HttpsClientCertificateInvalid, SR.GetString(SR.TraceCodeHttpsClientCertificateInvalid), 364TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.HttpsClientCertificateNotPresent, 375TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.HttpsClientCertificateInvalid,
System\ServiceModel\Channels\IdlingCommunicationPool.cs (2)
334TraceUtility.TraceEvent(TraceEventType.Information, 349TraceUtility.TraceEvent(TraceEventType.Information,
System\ServiceModel\Channels\InitialServerConnectionReader.cs (3)
179TraceUtility.TraceEvent(TraceEventType.Error, TraceCode.ChannelConnectionDropped, 327TraceUtility.TraceEvent(TraceEventType.Information, 387TraceUtility.TraceEvent(TraceEventType.Information,
System\ServiceModel\Channels\InputChannelAcceptor.cs (1)
28TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.MessageReceived,
System\ServiceModel\Channels\InputQueueChannel.cs (1)
19this.inputQueue = TraceUtility.CreateInputQueue<TDisposable>();
System\ServiceModel\Channels\InputQueueChannelAcceptor.cs (1)
18this.channelQueue = TraceUtility.CreateInputQueue<TChannel>();
System\ServiceModel\Channels\InternalDuplexChannelListener.cs (3)
270throw TraceUtility.ThrowHelperError(new CommunicationException(SR.GetString(SR.MessageMustHaveViaOrToSetForSendingOnServerSideCompositeDuplexChannels)), message); 275throw TraceUtility.ThrowHelperError(new CommunicationException(SR.GetString(SR.MessageToCannotBeAddressedToAnonymousOnServerSideCompositeDuplexChannels, to)), message); 281throw TraceUtility.ThrowHelperError(new CommunicationException(SR.GetString(SR.MessageViaCannotBeAddressedToAnonymousOnServerSideCompositeDuplexChannels, to)), message);
System\ServiceModel\Channels\Message.cs (49)
38throw TraceUtility.ThrowHelperError(CreateMessageDisposedException(), this); 50throw TraceUtility.ThrowHelperError(CreateMessageDisposedException(), this); 106TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.MessageClosed, 114TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.MessageClosedAgain, 123throw TraceUtility.ThrowHelperError(new ArgumentOutOfRangeException("maxBufferSize", maxBufferSize, 131TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.MessageCopied, 136throw TraceUtility.ThrowHelperError(CreateMessageDisposedException(), this); 138throw TraceUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.MessageHasBeenCopied)), this); 140throw TraceUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.MessageHasBeenRead)), this); 142throw TraceUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.MessageHasBeenWritten)), this); 145throw TraceUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.InvalidMessageState)), this); 325throw TraceUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.MessageIsEmpty)), this); 337TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.MessageRead, SR.GetString(SR.TraceCodeMessageRead), this); 341throw TraceUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.MessageHasBeenCopied)), this); 343throw TraceUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.MessageHasBeenRead)), this); 345throw TraceUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.MessageHasBeenWritten)), this); 347throw TraceUtility.ThrowHelperError(CreateMessageDisposedException(), this); 350throw TraceUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.InvalidMessageState)), this); 357throw TraceUtility.ThrowHelperError(CreateMessageDisposedException(), this); 374throw TraceUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.RequestMessageDoesNotHaveAMessageID)), request); 472throw TraceUtility.ThrowHelperError(new ArgumentNullException("writer"), this); 525throw TraceUtility.ThrowHelperError(CreateMessageDisposedException(), this); 555throw TraceUtility.ThrowHelperError(new ArgumentNullException("localName"), this); 557throw TraceUtility.ThrowHelperError(new ArgumentNullException("ns"), this); 563throw TraceUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.MessageHasBeenCopied)), this); 565throw TraceUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.MessageHasBeenRead)), this); 567throw TraceUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.MessageHasBeenWritten)), this); 569throw TraceUtility.ThrowHelperError(CreateMessageDisposedException(), this); 572throw TraceUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.InvalidMessageState)), this); 654throw TraceUtility.ThrowHelperError(new ArgumentNullException("writer"), this); 677throw TraceUtility.ThrowHelperError(new ArgumentNullException("writer"), this); 684TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.MessageWritten, SR.GetString(SR.TraceCodeMessageWritten), this); 688throw TraceUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.MessageHasBeenCopied)), this); 690throw TraceUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.MessageHasBeenRead)), this); 692throw TraceUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.MessageHasBeenWritten)), this); 694throw TraceUtility.ThrowHelperError(CreateMessageDisposedException(), this); 697throw TraceUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.InvalidMessageState)), this); 780throw TraceUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "IMessageHeaderWithSharedNamespace must use a single lowercase letter prefix.")), this); 787throw TraceUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "IMessageHeaderWithSharedNamespace must use a single lowercase letter prefix.")), this); 1005throw TraceUtility.ThrowHelperError(CreateMessageDisposedException(), this); 1016throw TraceUtility.ThrowHelperError(CreateMessageDisposedException(), this); 1027throw TraceUtility.ThrowHelperError(CreateMessageDisposedException(), this); 1038throw TraceUtility.ThrowHelperError(CreateMessageDisposedException(), this); 1075throw TraceUtility.ThrowHelperError(CreateMessageDisposedException(), this); 1316throw TraceUtility.ThrowHelperError( 1357throw TraceUtility.ThrowHelperError(CreateMessageDisposedException(), this); 1519throw TraceUtility.ThrowHelperError( 1573throw TraceUtility.ThrowHelperError(CreateMessageDisposedException(), this); 1592throw TraceUtility.ThrowHelperError(CreateMessageDisposedException(), this);
System\ServiceModel\Channels\MessageEncoder.cs (1)
209throw TraceUtility.ThrowHelperError(
System\ServiceModel\Channels\MessageFault.cs (1)
89throw TraceUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.EnvelopeVersionUnknown, envelopeVersion.ToString())), message);
System\ServiceModel\Channels\MessageHeaders.cs (2)
1100TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.DidNotUnderstandMessageHeader, 1643TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.UnderstoodMessageHeader,
System\ServiceModel\Channels\MsmqDiagnostics.cs (26)
21TraceUtility.TraceEvent( 38TraceUtility.TraceEvent( 67TraceUtility.TraceEvent( 95ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityProcessingMessage, TraceUtility.RetrieveMessageNumber()), ActivityType.ProcessMessage); 106ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityReceiveBytes, TraceUtility.RetrieveMessageNumber()), ActivityType.ReceiveBytes); 115TraceUtility.TransferFromTransport(message); 128TraceUtility.TraceEvent( 147TraceUtility.TraceEvent( 161TraceUtility.TraceEvent( 181TraceUtility.TraceEvent( 200TraceUtility.TraceEvent( 230TraceUtility.TraceEvent(TraceEventType.Verbose, traceCode, traceDescription, record, null, null); 258TraceUtility.TraceEvent( 284TraceUtility.TraceEvent( 298TraceUtility.TraceEvent( 312TraceUtility.TraceEvent( 326TraceUtility.TraceEvent( 344TraceUtility.TraceEvent( 364TraceUtility.TraceEvent( 380TraceUtility.TraceEvent( 394TraceUtility.TraceEvent( 408TraceUtility.TraceEvent( 422TraceUtility.TraceEvent( 440TraceUtility.TraceEvent( 458TraceUtility.TraceEvent( 475TraceUtility.TraceEvent(
System\ServiceModel\Channels\MtomMessageEncoder.cs (1)
393throw TraceUtility.ThrowHelperError(new ArgumentNullException("stream"), message);
System\ServiceModel\Channels\NamedPipeChannelListener.cs (1)
135TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.NamedPipeChannelMessageReceived,
System\ServiceModel\Channels\OneWayChannelFactory.cs (2)
38throw TraceUtility.ThrowHelperError( 242throw TraceUtility.ThrowHelperError(
System\ServiceModel\Channels\OneWayChannelListener.cs (1)
843TraceUtility.TraceEvent(TraceEventType.Warning,
System\ServiceModel\Channels\OutputChannel.cs (1)
99TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.MessageSent,
System\ServiceModel\Channels\PeerDuplexChannel.cs (1)
178TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.PeerChannelMessageReceived,
System\ServiceModel\Channels\PeerDuplexChannelListener.cs (1)
68TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.MessageReceived,
System\ServiceModel\Channels\PeerFlooder.cs (3)
74TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.PeerFlooderReceiveMessageQuotaExceeded, 99TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.PeerFlooderReceiveMessageQuotaExceeded, 181TraceUtility.TraceEvent(
System\ServiceModel\Channels\PeerInputChannel.cs (1)
158TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.PeerChannelMessageReceived,
System\ServiceModel\Channels\PeerInputChannelListener.cs (1)
40TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.MessageReceived,
System\ServiceModel\Channels\PeerMaintainer.cs (7)
183TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.PeerMaintainerActivity, SR.GetString(SR.TraceCodePeerMaintainerActivity), 278TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.PeerMaintainerActivity, SR.GetString(SR.TraceCodePeerMaintainerActivity), 298TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.PeerMaintainerActivity, SR.GetString(SR.TraceCodePeerMaintainerActivity), 317TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.PeerMaintainerActivity, SR.GetString(SR.TraceCodePeerMaintainerActivity), 337TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.PeerMaintainerActivity, SR.GetString(SR.TraceCodePeerMaintainerActivity), 532TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.PeerMaintainerActivity, SR.GetString(SR.TraceCodePeerMaintainerActivity), 549TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.PeerMaintainerActivity, SR.GetString(SR.TraceCodePeerMaintainerActivity),
System\ServiceModel\Channels\PeerNeighborManager.cs (5)
510TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.PeerNeighborManagerOnline, 590TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.PeerNeighborNotAccepted, 658TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.PeerNeighborManagerOffline, 1353TraceUtility.TraceEvent(severity, TraceCode.PeerNeighborStateChanged, 1398TraceUtility.TraceEvent(severity, traceCode, traceDescription, record, this, e);
System\ServiceModel\Channels\PeerNodeImplementation.cs (9)
437TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.PeerChannelMessageSent, SR.GetString(SR.TraceCodePeerChannelMessageSent), this, message); 498TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.PeerNodeClosing, SR.GetString(SR.TraceCodePeerNodeClosing), this.traceRecord, this, null); 676TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.PeerNodeClosed, SR.GetString(SR.TraceCodePeerNodeClosed), this.traceRecord, this, null); 864TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.PeerNodeOpened, SR.GetString(SR.TraceCodePeerNodeOpened), this.completeTraceRecord, this, null); 868TraceUtility.TraceEvent(TraceEventType.Error, TraceCode.PeerNodeOpenFailed, SR.GetString(SR.TraceCodePeerNodeOpenFailed), this.completeTraceRecord, this, e); 912TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.PeerFloodedMessageReceived, SR.GetString(SR.TraceCodePeerFloodedMessageReceived), this.traceRecord, this, null); 934TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.PeerFloodedMessageNotPropagated, SR.GetString(SR.TraceCodePeerFloodedMessageNotPropagated), this.traceRecord, this, null, traceMessage); 1051TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.PeerNodeAddressChanged, SR.GetString(SR.TraceCodePeerNodeAddressChanged), this.completeTraceRecord, this, null); 1317TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.PeerNodeOpening, SR.GetString(SR.TraceCodePeerNodeOpening), this.traceRecord, this, null);
System\ServiceModel\Channels\PeerSecurityHelpers.cs (3)
799TraceUtility.TraceEvent(TraceEventType.Error, 919TraceUtility.TraceEvent( 934TraceUtility.TraceEvent(TraceEventType.Error,
System\ServiceModel\Channels\PeerService.cs (3)
153TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.PeerNeighborNotFound, 179TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.PeerNeighborMessageReceived, SR.GetString(SR.TraceCodePeerNeighborMessageReceived), record, this, null); 211TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.PeerServiceOpened,
System\ServiceModel\Channels\PipeConnection.cs (4)
627TraceUtility.TraceEvent(traceEventType, TraceCode.PipeConnectionAbort, SR.GetString(SR.TraceCodePipeConnectionAbort), this); 1667TraceUtility.TraceEvent( 1779TraceUtility.TraceEvent(System.Diagnostics.TraceEventType.Information, TraceCode.InitiatingNamedPipeConnection, 1939TraceUtility.TraceEvent(
System\ServiceModel\Channels\PnrpPeerResolver.cs (5)
320TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.PnrpRegisteredAddresses, 351TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.PnrpUnregisteredAddresses, 684TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.PnrpResolvedAddresses, 712TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.PnrpResolvedAddresses, 2124TraceUtility.TraceEvent(TraceEventType.Error, TraceCode.PnrpResolveException,
System\ServiceModel\Channels\ReplyChannelAcceptor.cs (1)
28TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.MessageReceived,
System\ServiceModel\Channels\RequestChannel.cs (4)
272TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.RequestChannelReplyReceived, 317throw TraceUtility.ThrowHelperError(new TimeoutException(SR.GetString(SR.RequestChannelSendTimedOut, savedTimeout), 329throw TraceUtility.ThrowHelperError(new TimeoutException(SR.GetString(SR.RequestChannelWaitForReplyTimedOut, savedTimeout), 336TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.RequestChannelReplyReceived,
System\ServiceModel\Channels\RequestContextBase.cs (1)
113TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.RequestContextAbort,
System\ServiceModel\Channels\RequestReplyCorrelator.cs (11)
80throw TraceUtility.ThrowHelperError(new ArgumentException(SR.GetString(SR.SuppliedMessageIsNotAReplyItHasNoRelatesTo0)), reply); 140if (TraceUtility.PropagateUserActivity || TraceUtility.ShouldPropagateActivity) 142TraceUtility.AddAmbientActivityToMessage(request); 149throw TraceUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.MissingMessageID)), reply); 158if (TraceUtility.PropagateUserActivity || TraceUtility.ShouldPropagateActivity) 160TraceUtility.AddAmbientActivityToMessage(reply); 178if (TraceUtility.PropagateUserActivity || TraceUtility.ShouldPropagateActivity) 180TraceUtility.AddAmbientActivityToMessage(reply);
System\ServiceModel\Channels\SecurityChannelFactory.cs (3)
19using TraceUtility = System.ServiceModel.Diagnostics.TraceUtility; 630ServiceModelActivity replyActivity = TraceUtility.ExtractActivity(reply); 651TraceUtility.SetActivity(reply, activity);
System\ServiceModel\Channels\ServiceChannel.cs (16)
638throw TraceUtility.ThrowHelperError(error, rpc.Request); 646throw TraceUtility.ThrowHelperError(error, rpc.Request); 656throw TraceUtility.ThrowHelperError(error, rpc.Request); 662if (TraceUtility.MessageFlowTracingOnly) 674TraceUtility.SetActivity(rpc.Request, rpc.Activity); 675if (TraceUtility.ShouldPropagateActivity) 677TraceUtility.AddActivityHeader(rpc.Request); 680else if (TraceUtility.PropagateUserActivity || TraceUtility.ShouldPropagateActivity) 682TraceUtility.AddAmbientActivityToMessage(rpc.Request); 693TraceUtility.MessageFlowAtMessageSent(rpc.Request, rpc.EventTraceActivity); 752callback = TraceUtility.WrapExecuteUserCodeAsyncCallback(callback); 979if (TraceUtility.MessageFlowTracingOnly && rpc.ActivityId != Guid.Empty) 986TraceUtility.MessageFlowAtMessageReceived(rpc.Reply, null, rpc.EventTraceActivity, false); 1042if (TraceUtility.MessageFlowTracingOnly) 1842TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.ServiceChannelLifetime,
System\ServiceModel\Channels\ServiceChannelFactory.cs (4)
302TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.ChannelCreated, 303SR.GetString(SR.TraceCodeChannelCreated, TraceUtility.CreateSourceString(channel)), this); 316TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.ChannelDisposed, 317SR.GetString(SR.TraceCodeChannelDisposed, TraceUtility.CreateSourceString(channel)),
System\ServiceModel\Channels\ServiceChannelProxy.cs (1)
55if (TraceUtility.ActivityTracing)
System\ServiceModel\Channels\ServiceContextProtocol.cs (1)
113TraceUtility.TraceEvent(System.Diagnostics.TraceEventType.Verbose,
System\ServiceModel\Channels\SessionConnectionReader.cs (5)
1052ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityProcessingMessage, TraceUtility.RetrieveMessageNumber()), ActivityType.ProcessMessage); 1068TraceUtility.TransferFromTransport(message); 1347throw TraceUtility.ThrowHelperError(exception, pendingMessage); 1553ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityProcessingMessage, TraceUtility.RetrieveMessageNumber()), ActivityType.ProcessMessage); 1612TraceUtility.TransferFromTransport(message);
System\ServiceModel\Channels\SharedConnectionListener.cs (7)
50this.connectionQueue = TraceUtility.CreateInputQueue<DuplicateConnectionAsyncResult>(); 404TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.PortSharingListening, SR.GetString(SR.TraceCodePortSharingListening)); 462TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.PortSharingClosed, SR.GetString(SR.TraceCodePortSharingClosed)); 699TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.PortSharingDupHandleGranted, 708TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.PortSharingDuplicatedPipe, SR.GetString(SR.TraceCodePortSharingDuplicatedPipe)); 751TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.PortSharingDuplicatedSocket, 1094TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SharedManagerServiceEndpointNotExist,
System\ServiceModel\Channels\SharedHttpTransportManager.cs (2)
295TraceUtility.TraceHttpConnectionInformation(listenerContext.Request.LocalEndPoint.ToString(), 451TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.HttpChannelMessageReceiveFailed,
System\ServiceModel\Channels\SingletonConnectionReader.cs (2)
1238ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityProcessingMessage, TraceUtility.RetrieveMessageNumber()), ActivityType.ProcessMessage); 1255TraceUtility.TransferFromTransport(message);
System\ServiceModel\Channels\SocketConnection.cs (11)
228this.remoteEndpointAddress = TraceUtility.GetRemoteEndpointAddressPort(remote); 339TraceUtility.TraceEvent(traceEventType, TraceCode.SocketConnectionAbort, 524TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.SocketConnectionAbortClose, 629TraceUtility.TraceEvent(TraceEventType.Information, traceCode, SR.GetString(srString), new DictionaryTraceRecord(values), this, null); 746TraceUtility.TraceEvent(exceptionEventType, TraceCode.TcpConnectionTimedOut, GetEndpointString(SR.TcpConnectionTimedOut, timeout, null, socketConnection), timeoutException, null); 772TraceUtility.TraceEvent(exceptionEventType, TraceCode.TcpConnectionResetError, GetEndpointString(SR.TcpConnectionResetError, timeout, null, socketConnection), communicationException, null); 782TraceUtility.TraceEvent(exceptionEventType, TraceCode.TcpConnectionTimedOut, GetEndpointString(SR.TcpConnectionTimedOut, timeout, null, socketConnection), timeoutException, null); 797TraceUtility.TraceEvent(exceptionEventType, TraceCode.TcpTransferError, GetEndpointString(SR.TcpTransferError, TimeSpan.MinValue, socketException, socketConnection), communicationException, null); 1685TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.InitiatingTcpConnection, 1755TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.InitiatingTcpConnection, 1774TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.TcpConnectError,
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (1)
652TraceUtility.TraceEvent(TraceEventType.Error, TraceCode.SslClientCertMissing,
System\ServiceModel\Channels\TcpChannelListener.cs (1)
142TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.TcpChannelMessageReceived,
System\ServiceModel\Channels\TextMessageEncoder.cs (5)
471throw TraceUtility.ThrowHelperError(new ArgumentNullException("bufferManager"), message); 473throw TraceUtility.ThrowHelperError(new ArgumentOutOfRangeException("maxMessageSize", maxMessageSize, 476throw TraceUtility.ThrowHelperError(new ArgumentOutOfRangeException("messageOffset", messageOffset, 515throw TraceUtility.ThrowHelperError(new ArgumentNullException("stream"), message); 554throw TraceUtility.ThrowHelperError(new ArgumentNullException("stream"), message);
System\ServiceModel\Channels\TransactionChannel.cs (1)
102throw TraceUtility.ThrowHelperError(fault, message);
System\ServiceModel\Channels\TransactionChannelListener.cs (2)
207throw TraceUtility.ThrowHelperError(new ObjectDisposedException(this.GetType().FullName), message); 242throw TraceUtility.ThrowHelperError(new ObjectDisposedException(this.GetType().FullName), message);
System\ServiceModel\Channels\TransmissionStrategy.cs (1)
89TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.WsrmNegativeElapsedTimeDetected,
System\ServiceModel\Channels\TransportChannelListener.cs (3)
435TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.OpenedListener, 520TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.NoExistingTransportManager, 541TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.IncompatibleExistingTransportManager,
System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (3)
482TraceUtility.TraceEvent( 583throw TraceUtility.ThrowHelperError(error, message); 843throw TraceUtility.ThrowHelperError(error, message);
System\ServiceModel\Channels\TransportManager.cs (1)
125TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.TransportListen,
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (8)
695TraceUtility.GetRemoteEndpointAddressPort(this.RemoteEndpointMessageProperty)); 891TraceUtility.GetRemoteEndpointAddressPort(this.remoteEndpointMessageProperty)); 1210this.messageSource != null ? TraceUtility.GetRemoteEndpointAddressPort(this.messageSource.RemoteEndpointMessageProperty) : string.Empty); 1277this.messageSource != null ? TraceUtility.GetRemoteEndpointAddressPort(this.messageSource.RemoteEndpointMessageProperty) : string.Empty); 1316this.messageSource != null ? TraceUtility.GetRemoteEndpointAddressPort(this.messageSource.RemoteEndpointMessageProperty) : string.Empty); 1345this.messageSource != null ? TraceUtility.GetRemoteEndpointAddressPort(this.messageSource.RemoteEndpointMessageProperty) : string.Empty); 1376this.messageSource != null ? TraceUtility.GetRemoteEndpointAddressPort(this.messageSource.RemoteEndpointMessageProperty) : string.Empty); 1398this.messageSource != null ? TraceUtility.GetRemoteEndpointAddressPort(this.messageSource.RemoteEndpointMessageProperty) : string.Empty);
System\ServiceModel\ComIntegration\ComPlusDiagnosticTraceRecords.cs (24)
31TraceUtility.TraceEvent(type, traceCode, ServiceModelSR.GetString(description), record); 42TraceUtility.TraceEvent(type, traceCode, ServiceModelSR.GetString(description), record); 56TraceUtility.TraceEvent(type, traceCode, ServiceModelSR.GetString(description), record); 68TraceUtility.TraceEvent(type, traceCode, ServiceModelSR.GetString(description), record); 83TraceUtility.TraceEvent(type, traceCode, ServiceModelSR.GetString(description), record); 96TraceUtility.TraceEvent(type, traceCode, ServiceModelSR.GetString(description), record); 110TraceUtility.TraceEvent(type, traceCode, ServiceModelSR.GetString(description), record); 119TraceUtility.TraceEvent(type, traceCode, ServiceModelSR.GetString(description), record); 128TraceUtility.TraceEvent(type, traceCode, ServiceModelSR.GetString(description), record); 146TraceUtility.TraceEvent(type, traceCode, ServiceModelSR.GetString(description), record, null, null, message); 160TraceUtility.TraceEvent(type, traceCode, ServiceModelSR.GetString(description), record, null, null, message); 169TraceUtility.TraceEvent(type, traceCode, ServiceModelSR.GetString(description), record); 200TraceUtility.TraceEvent(type, traceCode, ServiceModelSR.GetString(description), record); 242TraceUtility.TraceEvent(type, traceCode, ServiceModelSR.GetString(description), record); 253TraceUtility.TraceEvent(type, traceCode, ServiceModelSR.GetString(description), record); 264TraceUtility.TraceEvent(type, traceCode, ServiceModelSR.GetString(description), record); 319TraceUtility.TraceEvent(type, traceCode, ServiceModelSR.GetString(description), record); 341TraceUtility.TraceEvent(type, traceCode, ServiceModelSR.GetString(description), record); 360TraceUtility.TraceEvent(type, traceCode, ServiceModelSR.GetString(description), record); 373TraceUtility.TraceEvent(type, traceCode, ServiceModelSR.GetString(description), record); 385TraceUtility.TraceEvent(type, v, ServiceModelSR.GetString(description), record); 396TraceUtility.TraceEvent(type, traceCode, ServiceModelSR.GetString(description), record); 413TraceUtility.TraceEvent(type, traceCode, ServiceModelSR.GetString(description), record); 426TraceUtility.TraceEvent(type, traceCode, ServiceModelSR.GetString(description), record);
System\ServiceModel\ComIntegration\ComPlusInstanceProvider.cs (1)
114throw TraceUtility.ThrowHelperError(e, message);
System\ServiceModel\Configuration\ConfigurationDuplexChannelFactory.cs (1)
21ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityConstructChannelFactory, TraceUtility.CreateSourceString(this)), ActivityType.Construct);
System\ServiceModel\Configuration\ConfigurationHelpers.cs (3)
161TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.GetConfigurationSection, 193TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.GetConfigurationSection, 352TraceUtility.TraceEvent(TraceEventType.Warning,
System\ServiceModel\Configuration\ExtensionsSection.cs (2)
205TraceUtility.TraceEvent(TraceEventType.Warning, 259TraceUtility.TraceEvent(TraceEventType.Warning,
System\ServiceModel\Configuration\ServiceModelEnhancedConfigurationElementCollection.cs (1)
55TraceUtility.TraceEvent(TraceEventType.Warning,
System\ServiceModel\Configuration\ServiceModelExtensionCollectionElement.cs (2)
175TraceUtility.TraceEvent(TraceEventType.Warning, 183TraceUtility.TraceEvent(TraceEventType.Warning,
System\ServiceModel\Configuration\ServiceModelExtensionElement.cs (3)
70TraceUtility.TraceEvent(TraceEventType.Warning, 90TraceUtility.TraceEvent(TraceEventType.Warning, 203TraceUtility.TraceEvent(TraceEventType.Warning,
System\ServiceModel\Description\ConfigLoader.cs (9)
284TraceUtility.TraceEvent(TraceEventType.Warning, traceCode, traceDescription, 710TraceUtility.TraceEvent(TraceEventType.Verbose, traceCode, traceDescription, 882TraceUtility.TraceEvent(TraceEventType.Verbose, traceCode, traceDescription, 1105TraceUtility.TraceEvent(TraceEventType.Verbose, traceCode, traceDescription, 1200TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.GetBehaviorElement, 1234TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.GetBehaviorElement, 1265TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.GetCommonBehaviors, 1380TraceUtility.TraceEvent(TraceEventType.Information, 1449TraceUtility.TraceEvent(TraceEventType.Information,
System\ServiceModel\Description\MessageContractImporter.cs (1)
176TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.CannotBeImportedInCurrentFormat,
System\ServiceModel\Description\MetadataExchangeClient.cs (2)
471TraceUtility.TraceEvent(TraceEventType.Information, traceCode, traceDescription, new DictionaryTraceRecord(h), null, null); 481TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.MetadataExchangeClientReceiveReply, SR.GetString(SR.TraceCodeMetadataExchangeClientReceiveReply),
System\ServiceModel\Description\MetadataResolver.cs (1)
274TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.WsmexNonCriticalWsdlExportError,
System\ServiceModel\Description\ServiceDebugBehavior.cs (1)
235TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.WarnHelpPageEnabledNoBaseAddress,
System\ServiceModel\Description\ServiceMetadataBehavior.cs (1)
547TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.WsmexNonCriticalWsdlExportError,
System\ServiceModel\Diagnostics\ActivityIdHeader.cs (2)
63TraceUtility.TraceEvent(TraceEventType.Error, TraceCode.FailedToReadAnActivityIdHeader, 107TraceUtility.TraceEvent(TraceEventType.Error, TraceCode.FailedToReadAnActivityIdHeader,
System\ServiceModel\Diagnostics\DefaultPerformanceCounters.cs (1)
97TraceUtility.TraceEvent(TraceEventType.Error, TraceCode.PerformanceCountersFailedForService,
System\ServiceModel\Diagnostics\EndpointPerformanceCounters.cs (1)
38TraceUtility.TraceEvent(TraceEventType.Error, TraceCode.PerformanceCounterFailedToLoad,
System\ServiceModel\Diagnostics\MessageLogger.cs (6)
352ServiceModelActivity activity = DiagnosticUtility.ShouldUseActivity ? TraceUtility.ExtractActivity(message) : null; 431TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.MessageNotLoggedQuotaExceeded, 450TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.MessageCountLimitExceeded, 544TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.FilterNotMatchedNodeQuotaExceeded, 605TraceUtility.TraceEvent(TraceEventType.Warning, 757TraceUtility.TraceEvent(TraceEventType.Warning,
System\ServiceModel\Diagnostics\MessageTraceRecord.cs (1)
96TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.DiagnosticsFailedMessageTrace,
System\ServiceModel\Diagnostics\OperationPerformanceCounters.cs (1)
38TraceUtility.TraceEvent(TraceEventType.Error, TraceCode.PerformanceCounterFailedToLoad,
System\ServiceModel\Diagnostics\PerformanceCounters.cs (2)
91TraceUtility.TraceEvent(System.Diagnostics.TraceEventType.Warning, 896TraceUtility.TraceEvent(
System\ServiceModel\Diagnostics\PerformanceCountersFactory.cs (5)
44TraceUtility.TraceEvent(TraceEventType.Error, 79TraceUtility.TraceEvent(TraceEventType.Error, 114TraceUtility.TraceEvent(TraceEventType.Error, 140TraceUtility.TraceEvent(TraceEventType.Warning, 193TraceUtility.TraceEvent(TraceEventType.Warning,
System\ServiceModel\Diagnostics\SecurityTraceRecordHelper.cs (64)
43TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.IssuanceTokenProviderRemovedCachedToken, SR.GetString(SR.TraceCodeIssuanceTokenProviderRemovedCachedToken), new IssuanceProviderTraceRecord<T>(provider, serviceToken)); 52TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.IssuanceTokenProviderUsingCachedToken, SR.GetString(SR.TraceCodeIssuanceTokenProviderUsingCachedToken), new IssuanceProviderTraceRecord<T>(provider, serviceToken, target)); 67TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.IssuanceTokenProviderBeginSecurityNegotiation, SR.GetString(SR.TraceCodeIssuanceTokenProviderBeginSecurityNegotiation), new IssuanceProviderTraceRecord<T>(provider, target)); 81TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.IssuanceTokenProviderEndSecurityNegotiation, SR.GetString(SR.TraceCodeIssuanceTokenProviderEndSecurityNegotiation), new IssuanceProviderTraceRecord<T>(provider, serviceToken, target)); 90TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.IssuanceTokenProviderRedirectApplied, SR.GetString(SR.TraceCodeIssuanceTokenProviderRedirectApplied), new IssuanceProviderTraceRecord<T>(provider, newTarget, oldTarget)); 99TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.IssuanceTokenProviderServiceTokenCacheFull, SR.GetString(SR.TraceCodeIssuanceTokenProviderServiceTokenCacheFull), new IssuanceProviderTraceRecord<T>(provider, cacheSize)); 107TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SpnegoClientNegotiationCompleted, SR.GetString(SR.TraceCodeSpnegoClientNegotiationCompleted), new WindowsSspiNegotiationTraceRecord(windowsNegotiation)); 115TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SpnegoServiceNegotiationCompleted, SR.GetString(SR.TraceCodeSpnegoServiceNegotiationCompleted), new WindowsSspiNegotiationTraceRecord(windowsNegotiation)); 123TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SpnegoClientNegotiation, SR.GetString(SR.TraceCodeSpnegoClientNegotiation), new WindowsSspiNegotiationTraceRecord(windowsNegotiation)); 131TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SpnegoServiceNegotiation, SR.GetString(SR.TraceCodeSpnegoServiceNegotiation), new WindowsSspiNegotiationTraceRecord(windowsNegotiation)); 140TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.NegotiationAuthenticatorAttached, SR.GetString(SR.TraceCodeNegotiationAuthenticatorAttached), new NegotiationAuthenticatorTraceRecord<T>(authenticator, transportChannelListener)); 149TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.ServiceSecurityNegotiationCompleted, SR.GetString(SR.TraceCodeServiceSecurityNegotiationCompleted), 165TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.SecurityNegotiationProcessingFailure, SR.GetString(SR.TraceCodeSecurityNegotiationProcessingFailure), new NegotiationAuthenticatorTraceRecord<T>(authenticator, e)); 179TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SecurityContextTokenCacheFull, SR.GetString(SR.TraceCodeSecurityContextTokenCacheFull), 187TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SecurityIdentityVerificationSuccess, SR.GetString(SR.TraceCodeSecurityIdentityVerificationSuccess), new IdentityVerificationSuccessTraceRecord(identity, claim, identityVerifier)); 198TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SecurityIdentityVerificationFailure, SR.GetString(SR.TraceCodeSecurityIdentityVerificationFailure), new IdentityVerificationFailureTraceRecord(identity, authContext, identityVerifier)); 204TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SecurityIdentityDeterminationSuccess, SR.GetString(SR.TraceCodeSecurityIdentityDeterminationSuccess), new IdentityDeterminationSuccessTraceRecord(epr, identity, identityVerifier)); 210TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SecurityIdentityDeterminationFailure, SR.GetString(SR.TraceCodeSecurityIdentityDeterminationFailure), new IdentityDeterminationFailureTraceRecord(epr, identityVerifier)); 216TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SecurityIdentityHostNameNormalizationFailure, SR.GetString(SR.TraceCodeSecurityIdentityHostNameNormalizationFailure), new IdentityHostNameNormalizationFailureTraceRecord(epr, identityVerifier, e)); 222TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.ExportSecurityChannelBindingEntry, SR.GetString(SR.TraceCodeExportSecurityChannelBindingEntry), (object)null); 228TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.ExportSecurityChannelBindingExit, SR.GetString(SR.TraceCodeExportSecurityChannelBindingExit)); 234TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.ImportSecurityChannelBindingEntry, SR.GetString(SR.TraceCodeImportSecurityChannelBindingEntry), (object)null); 240TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.ImportSecurityChannelBindingExit, SR.GetString(SR.TraceCodeImportSecurityChannelBindingExit)); 251TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SecurityTokenProviderOpened, SR.GetString(SR.TraceCodeSecurityTokenProviderOpened), new TokenProviderTraceRecord(provider)); 257TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SecurityTokenProviderClosed, SR.GetString(SR.TraceCodeSecurityTokenProviderClosed), new TokenProviderTraceRecord(provider)); 263TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.SecurityTokenAuthenticatorOpened, SR.GetString(SR.TraceCodeSecurityTokenAuthenticatorOpened), new TokenAuthenticatorTraceRecord(authenticator)); 269TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SecurityTokenAuthenticatorClosed, SR.GetString(SR.TraceCodeSecurityTokenAuthenticatorClosed), new TokenAuthenticatorTraceRecord(authenticator)); 282TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SecurityBindingOutgoingMessageSecured, 297TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SecurityBindingIncomingMessageVerified, 306TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.SecurityBindingSecureOutgoingMessageFailure, 315TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.SecurityBindingVerifyIncomingMessageFailure, 323TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.SecuritySpnToSidMappingFailure, SR.GetString(SR.TraceCodeSecuritySpnToSidMappingFailure), new SpnToSidMappingTraceRecord(spn, e)); 329TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SecuritySessionRedirectApplied, SR.GetString(SR.TraceCodeSecuritySessionRedirectApplied), new SessionRedirectAppliedTraceRecord(previousTarget, newTarget, sessionToken)); 335TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SecurityClientSessionCloseSent, SR.GetString(SR.TraceCodeSecurityClientSessionCloseSent), new ClientSessionTraceRecord(sessionToken, null, remoteTarget)); 341TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SecurityClientSessionCloseResponseSent, SR.GetString(SR.TraceCodeSecurityClientSessionCloseResponseSent), new ClientSessionTraceRecord(sessionToken, null, remoteTarget)); 347TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SecurityClientSessionCloseMessageReceived, SR.GetString(SR.TraceCodeSecurityClientSessionCloseMessageReceived), new ClientSessionTraceRecord(sessionToken, null, remoteTarget)); 353TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.SecuritySessionKeyRenewalFaultReceived, SR.GetString(SR.TraceCodeSecuritySessionKeyRenewalFaultReceived), new ClientSessionTraceRecord(sessionToken, null, remoteTarget)); 359TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.SecuritySessionAbortedFaultReceived, SR.GetString(SR.TraceCodeSecuritySessionAbortedFaultReceived), new ClientSessionTraceRecord(sessionToken, null, remoteTarget)); 365TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SecuritySessionClosedResponseReceived, SR.GetString(SR.TraceCodeSecuritySessionClosedResponseReceived), new ClientSessionTraceRecord(sessionToken, null, remoteTarget)); 371TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SecurityClientSessionPreviousKeyDiscarded, SR.GetString(SR.TraceCodeSecurityClientSessionPreviousKeyDiscarded), new ClientSessionTraceRecord(currentSessionToken, previousSessionToken, remoteAddress)); 377TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SecurityClientSessionKeyRenewed, SR.GetString(SR.TraceCodeSecurityClientSessionKeyRenewed), new ClientSessionTraceRecord(newSessionToken, currentSessionToken, remoteAddress)); 383TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SecurityPendingServerSessionAdded, SR.GetString(SR.TraceCodeSecurityPendingServerSessionAdded), new ServerSessionTraceRecord(sessionId, listenAddress)); 389TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.SecurityPendingServerSessionClosed, SR.GetString(SR.TraceCodeSecurityPendingServerSessionClosed), new ServerSessionTraceRecord(sessionId, listenAddress)); 395TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SecurityPendingServerSessionActivated, SR.GetString(SR.TraceCodeSecurityPendingServerSessionActivated), new ServerSessionTraceRecord(sessionId, listenAddress)); 401TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SecurityActiveServerSessionRemoved, SR.GetString(SR.TraceCodeSecurityActiveServerSessionRemoved), new ServerSessionTraceRecord(sessionId, listenAddress)); 407TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SecurityNewServerSessionKeyIssued, SR.GetString(SR.TraceCodeSecurityNewServerSessionKeyIssued), new ServerSessionTraceRecord(newToken, supportingToken, listenAddress)); 413TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.SecurityInactiveSessionFaulted, SR.GetString(SR.TraceCodeSecurityInactiveSessionFaulted), new ServerSessionTraceRecord(sessionToken, (SecurityContextSecurityToken)null, listenAddress)); 419TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SecurityServerSessionKeyUpdated, SR.GetString(SR.TraceCodeSecurityServerSessionKeyUpdated), new ServerSessionTraceRecord(sessionToken, (SecurityContextSecurityToken)null, listenAddress)); 425TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SecurityServerSessionCloseReceived, SR.GetString(SR.TraceCodeSecurityServerSessionCloseReceived), new ServerSessionTraceRecord(sessionToken, (SecurityContextSecurityToken)null, listenAddress)); 431TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SecurityServerSessionCloseResponseReceived, SR.GetString(SR.TraceCodeSecurityServerSessionCloseResponseReceived), new ServerSessionTraceRecord(sessionToken, (SecurityContextSecurityToken)null, listenAddress)); 438TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.SecurityServerSessionRenewalFaultSent, 446TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.SecurityServerSessionAbortedFaultSent, SR.GetString(SR.TraceCodeSecurityServerSessionAbortedFaultSent), new ServerSessionTraceRecord(sessionToken, (SecurityContextSecurityToken)null, listenAddress)); 452TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SecuritySessionCloseResponseSent, SR.GetString(SR.TraceCodeSecuritySessionCloseResponseSent), new ServerSessionTraceRecord(sessionToken, (SecurityContextSecurityToken)null, listenAddress)); 458TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SecuritySessionServerCloseSent, SR.GetString(SR.TraceCodeSecuritySessionServerCloseSent), new ServerSessionTraceRecord(sessionToken, (SecurityContextSecurityToken)null, listenAddress)); 464TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.SecuritySessionRenewFaultSendFailure, SR.GetString(SR.TraceCodeSecuritySessionRenewFaultSendFailure), new ServerSessionTraceRecord(sessionToken, listenAddress), e); 470TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.SecuritySessionAbortedFaultSendFailure, SR.GetString(SR.TraceCodeSecuritySessionAbortedFaultSendFailure), new ServerSessionTraceRecord(sessionToken, listenAddress), e); 476TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.SecuritySessionClosedResponseSendFailure, SR.GetString(SR.TraceCodeSecuritySessionClosedResponseSendFailure), new ServerSessionTraceRecord(sessionToken, listenAddress), e); 482TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.SecuritySessionServerCloseSendFailure, SR.GetString(SR.TraceCodeSecuritySessionServerCloseSendFailure), new ServerSessionTraceRecord(sessionToken, listenAddress), e); 488TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SecuritySessionRequestorStartOperation, SR.GetString(SR.TraceCodeSecuritySessionRequestorStartOperation), new SessionRequestorTraceRecord(operation, currentToken, (GenericXmlSecurityToken)null, target)); 494TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SecuritySessionRequestorOperationSuccess, SR.GetString(SR.TraceCodeSecuritySessionRequestorOperationSuccess), new SessionRequestorTraceRecord(operation, currentToken, issuedToken, target)); 500TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.SecuritySessionRequestorOperationFailure, SR.GetString(SR.TraceCodeSecuritySessionRequestorOperationFailure), new SessionRequestorTraceRecord(operation, currentToken, e, target)); 506TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.SecuritySessionResponderOperationFailure, SR.GetString(SR.TraceCodeSecuritySessionResponderOperationFailure), new SessionResponderTraceRecord(operation, e, listenAddress)); 512TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SecurityImpersonationSuccess, SR.GetString(SR.TraceCodeSecurityImpersonationSuccess), new ImpersonationTraceRecord(operation)); 524TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.SecurityImpersonationFailure, SR.GetString(SR.TraceCodeSecurityImpersonationFailure), new ImpersonationTraceRecord(operation), e);
System\ServiceModel\Diagnostics\ServiceModelActivity.cs (2)
391TraceUtility.TraceEventNoCheck(type, TraceCode.ActivityBoundary, ServiceModelActivity.ActivityBoundaryDescription, null, ServiceModelActivity.ActivityBoundaryDescription, (Exception)null); 411TraceUtility.TraceEventNoCheck(type, TraceCode.ActivityBoundary, ServiceModelActivity.ActivityBoundaryDescription, new DictionaryTraceRecord(values), null, null, this.Id);
System\ServiceModel\Diagnostics\ServicePerformanceCounters.cs (1)
39TraceUtility.TraceEvent(TraceEventType.Error, TraceCode.PerformanceCountersFailedForService,
System\ServiceModel\Diagnostics\TraceAsyncResult.cs (2)
17if (TraceUtility.MessageFlowTracingOnly) 45if (TraceUtility.MessageFlowTracingOnly)
System\ServiceModel\Diagnostics\TraceUtility.cs (67)
488ActivityIdHeader activityIdHeader = new ActivityIdHeader(TraceUtility.ExtractActivityId(message)); 498TraceUtility.TraceEvent(TraceEventType.Error, TraceCode.FailedToAddAnActivityIdHeader, 517TraceUtility.TraceEvent(TraceEventType.Error, TraceCode.FailedToAddAnActivityIdHeader, 526TraceUtility.SetActivity(destination, TraceUtility.ExtractActivity(source)); 544if ((DiagnosticUtility.ShouldUseActivity || TraceUtility.ShouldPropagateActivityGlobal) && 550if (message.GetProperty(TraceUtility.ActivityIdKey, out property)) 563return TraceUtility.ExtractActivity(request.RequestMessage); 578if (TraceUtility.MessageFlowTracingOnly) 592return TraceUtility.ExtractActivityId(operationContext.IncomingMessage); 602ServiceModelActivity retval = TraceUtility.ExtractActivity(message); 607message.SetProperty(TraceUtility.ActivityIdKey, false); 617ServiceModelActivity incomingActivity = TraceUtility.ExtractActivity(message); 628TraceUtility.SetActivity(message, activity); 631TraceUtility.MessageFlowAtMessageReceived(message, null, eventTraceActivity, true); 644TraceUtility.SetActivity(message, activity); 646if (TraceUtility.PropagateUserActivity || TraceUtility.ShouldPropagateActivity) 648TraceUtility.AddAmbientActivityToMessage(message); 651TraceUtility.MessageFlowAtMessageSent(message, eventTraceActivity); 663message.SetProperty(TraceUtility.ActivityIdKey, activity); 676TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.DroppedAMessage, 715Guid activityId = TraceUtility.ExtractActivityId(message); 724Guid activityId = TraceUtility.ExtractActivityId(message); 750Guid activityId = TraceUtility.ExtractActivityId(message); 812traceCode.ToString("X", CultureInfo.InvariantCulture), typeof(TraceUtility))); 819Guid activityId = TraceUtility.ExtractActivityId(message); 842Guid activityId = TraceUtility.ExtractActivityId(message); 851return (ArgumentException)TraceUtility.ThrowHelperError(new ArgumentException(message, paramName), msg); 856return (ArgumentNullException)TraceUtility.ThrowHelperError(new ArgumentNullException(paramName), message); 873TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.ConnectToIPEndpoint, 895TraceUtility.SetEtwProviderId(); 896TraceUtility.SetEndToEndTracingFlags(); 900TraceUtility.shouldPropagateActivity = (ts.PropagateActivity || TraceUtility.shouldPropagateActivityGlobal); 910TraceUtility.shouldPropagateActivityGlobal = element.PropagateActivity; 912TraceUtility.shouldPropagateActivity = TraceUtility.shouldPropagateActivityGlobal || TraceUtility.shouldPropagateActivity; 916TraceUtility.activityTracing = DiagnosticUtility.ShouldUseActivity; 918TraceUtility.messageFlowTracing = element.MessageFlowTracing || TraceUtility.activityTracing; 919TraceUtility.messageFlowTracingOnly = element.MessageFlowTracing && !element.ActivityTracing; 922DiagnosticUtility.TracingEnabled = (DiagnosticUtility.TracingEnabled || TraceUtility.activityTracing); 927return Interlocked.Increment(ref TraceUtility.messageNumber); 934return TraceUtility.ShouldPropagateActivity && 935TraceUtility.PropagateUserActivityCore; 987if ((null != properties) && properties.TryGetValue(TraceUtility.E2EActivityId, out activityId)) 995get { return TraceUtility.shouldPropagateActivity; } 1000get { return TraceUtility.shouldPropagateActivityGlobal; } 1005get { return TraceUtility.activityTracing; } 1010get { return TraceUtility.messageFlowTracing; } 1015get { return TraceUtility.messageFlowTracingOnly; } 1020if (TraceUtility.MessageFlowTracing) 1026if (TraceUtility.MessageFlowTracingOnly) 1043if (TraceUtility.MessageFlowTracing) 1048if (TraceUtility.MessageFlowTracingOnly) 1064message.Properties[TraceUtility.E2EActivityId] = Trace.CorrelationManager.ActivityId; 1074TD.MessageReceivedFromTransport(eventTraceActivity, correlationId, TraceUtility.GetAnnotation(context)); 1104if (TraceUtility.ShouldPropagateActivity) 1147message.Properties[TraceUtility.ActivityIdKey] = activity; 1155OperationContext.Current.OutgoingMessageProperties[TraceUtility.AsyncOperationActivityKey] = activity; 1162if (OperationContext.Current != null && OperationContext.Current.OutgoingMessageProperties.TryGetValue(TraceUtility.AsyncOperationActivityKey, out data)) 1164OperationContext.Current.OutgoingMessageProperties.Remove(TraceUtility.AsyncOperationActivityKey); 1173OperationContext.Current.OutgoingMessageProperties[TraceUtility.AsyncOperationStartTimeKey] = new EventTraceActivityTimeProperty(eventTraceActivity, startTime); 1182if (OperationContext.Current != null && OperationContext.Current.OutgoingMessageProperties.TryGetValue<EventTraceActivityTimeProperty>(TraceUtility.AsyncOperationStartTimeKey, out data)) 1184OperationContext.Current.OutgoingMessageProperties.Remove(TraceUtility.AsyncOperationStartTimeKey);
System\ServiceModel\Dispatcher\ActionMessageFilterTable.cs (2)
196throw TraceUtility.ThrowHelperError(new MultipleFilterMatchesException(SR.GetString(SR.FilterMultipleMatches), null, matches), message); 204throw TraceUtility.ThrowHelperError(new MultipleFilterMatchesException(SR.GetString(SR.FilterMultipleMatches), null, matches), message);
System\ServiceModel\Dispatcher\AndMessageFilterTable.cs (2)
158throw TraceUtility.ThrowHelperError(new MultipleFilterMatchesException(SR.GetString(SR.FilterMultipleMatches), null, matches), message); 267throw TraceUtility.ThrowHelperError(new MultipleFilterMatchesException(SR.GetString(SR.FilterMultipleMatches), null, matches), message);
System\ServiceModel\Dispatcher\AsyncMethodInvoker.cs (15)
67TraceUtility.UpdateAsyncOperationContextWithActivity(activity); 70else if (TraceUtility.MessageFlowTracingOnly) 72Guid activityId = TraceUtility.GetReceivedActivityId(OperationContext.Current); 78else if (TraceUtility.ShouldPropagateActivity) 86TraceUtility.UpdateAsyncOperationContextWithActivity(activityId); 147TraceUtility.TraceUserCodeException(e, this.beginMethod); 173if (TraceUtility.MessageFlowTracingOnly) 177Guid activityId = TraceUtility.GetReceivedActivityId(OperationContext.Current); 184else if (DiagnosticUtility.ShouldUseActivity || TraceUtility.ShouldPropagateActivity) 186object activityInfo = TraceUtility.ExtractAsyncOperationContextActivity(); 194else if (TraceUtility.ShouldPropagateActivity) 261TD.OperationInvoked(eventTraceActivity, methodName, TraceUtility.GetCallerInfo(OperationContext.Current)); 265TraceUtility.UpdateAsyncOperationContextWithStartTime(eventTraceActivity, DateTime.UtcNow.Ticks); 281TraceUtility.ExtractAsyncOperationStartTime(out eventTraceActivity, out startTime); 282long duration = TraceUtility.GetUtcBasedDurationForTrace(startTime);
System\ServiceModel\Dispatcher\ChannelDispatcher.cs (1)
920TraceUtility.TraceEvent(TraceEventType.Information, traceCode,
System\ServiceModel\Dispatcher\ChannelHandler.cs (5)
471TraceUtility.MessageFlowAtMessageReceived(message, currentOperationContext, eventTraceActivity, true); 594TraceUtility.TraceDroppedMessage(request.RequestMessage, this.requestInfo.Endpoint); 948ServiceModelActivity activity = DiagnosticUtility.ShouldUseActivity ? TraceUtility.ExtractActivity(request) : null; 1099TraceUtility.TraceEvent(System.Diagnostics.TraceEventType.Warning, 1902TraceUtility.TraceDroppedMessage(request.RequestMessage, this.requestInfo.Endpoint);
System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (7)
603throw TraceUtility.ThrowHelperError(new ArgumentNullException("IOperationInvoker.BeginDispatch"), rpc.Request); 816TraceUtility.SetActivity(reply, rpc.Activity); 817if (TraceUtility.ShouldPropagateActivity) 819TraceUtility.AddActivityHeader(reply); 822else if (TraceUtility.ShouldPropagateActivity && reply != null && rpc.ResponseActivityId != Guid.Empty) 829if (TraceUtility.MessageFlowTracingOnly) 834FxTrace.Trace.SetAndTraceTransfer(TraceUtility.GetReceivedActivityId(rpc.OperationContext), true);
System\ServiceModel\Dispatcher\DispatchRuntime.cs (2)
809TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.UnhandledAction, 981throw TraceUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxCannotActivateCallbackInstace)), message);
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (6)
497throw TraceUtility.ThrowHelperError(this.GetReceiveTimeoutException(timeout), message); 521TraceUtility.TraceDroppedMessage(reply, dispatcher); 892this.activity = TraceUtility.ExtractActivity(message); 944TraceUtility.ExtractActivity(this.reply) : null; 1030TraceUtility.ExtractActivity(reply) : null; 1049TraceUtility.SetActivity(reply, this.activity);
System\ServiceModel\Dispatcher\EndpointAddressMessageFilterTable.cs (2)
391throw TraceUtility.ThrowHelperError(new MultipleFilterMatchesException(SR.GetString(SR.FilterMultipleMatches), null, matches), message); 409throw TraceUtility.ThrowHelperError(new MultipleFilterMatchesException(SR.GetString(SR.FilterMultipleMatches), null, matches), message);
System\ServiceModel\Dispatcher\EndpointDispatcherTable.cs (1)
145throw TraceUtility.ThrowHelperError(new MultipleFilterMatchesException(SR.GetString(SR.FilterMultipleMatches)), message);
System\ServiceModel\Dispatcher\ErrorBehavior.cs (2)
255throw TraceUtility.ThrowHelperError(e, message); 266TraceUtility.ThrowHelperError(e, message);
System\ServiceModel\Dispatcher\FlowThrottle.cs (1)
97TraceUtility.TraceEvent(
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (16)
503TraceUtility.TraceEvent(TraceEventType.Error, TraceCode.ServiceOperationExceptionOnReply, 550TraceUtility.TraceEvent(System.Diagnostics.TraceEventType.Error, 780TraceUtility.TraceEvent(System.Diagnostics.TraceEventType.Warning, 787TraceUtility.TraceEvent(System.Diagnostics.TraceEventType.Warning, 905TraceUtility.TraceEvent( 930throw TraceUtility.ThrowHelperError(error, rpc.Request); 939throw TraceUtility.ThrowHelperError(error, rpc.Request); 954throw TraceUtility.ThrowHelperError(error, rpc.Request); 962throw TraceUtility.ThrowHelperError(error, rpc.Request); 972throw TraceUtility.ThrowHelperError(error, rpc.Request); 1029TraceUtility.TraceEvent( 1063TraceUtility.TraceEvent( 1097TraceUtility.TraceEvent( 1131TraceUtility.TraceEvent( 1168TraceUtility.TraceEvent( 1396TraceUtility.MessageFlowAtMessageSent(rpc.Reply, rpc.EventTraceActivity);
System\ServiceModel\Dispatcher\InputChannelBinder.cs (4)
95throw TraceUtility.ThrowHelperError(new NotImplementedException(), message); 105throw TraceUtility.ThrowHelperError(new NotImplementedException(), message); 125throw TraceUtility.ThrowHelperError(new NotImplementedException(), message); 135throw TraceUtility.ThrowHelperError(new NotImplementedException(), message);
System\ServiceModel\Dispatcher\InstanceBehavior.cs (2)
132TraceUtility.TraceEvent(TraceEventType.Information, 238throw TraceUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxNoDefaultConstructor)), request);
System\ServiceModel\Dispatcher\MessageFilter.cs (2)
91throw TraceUtility.ThrowHelperError(new MultipleFilterMatchesException(SR.GetString(SR.FilterMultipleMatches), null, f), message); 167throw TraceUtility.ThrowHelperError(new MultipleFilterMatchesException(SR.GetString(SR.FilterMultipleMatches), null, f), message);
System\ServiceModel\Dispatcher\MessageFilterTable.cs (3)
299throw TraceUtility.ThrowHelperError(new MultipleFilterMatchesException(SR.GetString(SR.FilterMultipleMatches), null, null), message); 344throw TraceUtility.ThrowHelperError(new MultipleFilterMatchesException(SR.GetString(SR.FilterMultipleMatches), null, null), message); 472throw TraceUtility.ThrowHelperError(new MultipleFilterMatchesException(SR.GetString(SR.FilterMultipleMatches), null, c), message);
System\ServiceModel\Dispatcher\MessageOperationFormatter.cs (1)
42throw TraceUtility.ThrowHelperError(new ArgumentNullException("parameters"), message);
System\ServiceModel\Dispatcher\MessageRpc.cs (5)
148this.Activity = TraceUtility.ExtractActivity(this.Request); 151if (DiagnosticUtility.ShouldUseActivity || TraceUtility.ShouldPropagateActivity) 458if (TraceUtility.MessageFlowTracingOnly) 460TraceUtility.SetActivityId(this.Request.Properties); 463Guid receivedActivityId = TraceUtility.ExtractActivityId(this.Request);
System\ServiceModel\Dispatcher\OperationFormatter.cs (3)
111throw TraceUtility.ThrowHelperError(new ArgumentNullException("parameters"), message); 179throw TraceUtility.ThrowHelperError(new ArgumentNullException("parameters"), message); 552TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.ElementIgnored, SR.GetString(SR.SFxTraceCodeElementIgnored), new StringTraceRecord("Element", xmlReader.NamespaceURI + ":" + xmlReader.LocalName));
System\ServiceModel\Dispatcher\OutputChannelBinder.cs (2)
98throw TraceUtility.ThrowHelperError(new NotImplementedException(), message); 113throw TraceUtility.ThrowHelperError(new NotImplementedException(), message);
System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (2)
416throw TraceUtility.ThrowHelperError(new ArgumentNullException("parameters"), message); 456throw TraceUtility.ThrowHelperError(new ArgumentNullException("parameters"), message);
System\ServiceModel\Dispatcher\QueryMatcher.cs (6)
114throw TraceUtility.ThrowHelperError(e.Process(this.matcher.RootOpcode), this.message); 118throw TraceUtility.ThrowHelperError(e.Process(this.matcher.RootOpcode), this.message); 201throw TraceUtility.ThrowHelperError(e.Process(this.matcher.RootOpcode), this.message); 205throw TraceUtility.ThrowHelperError(e.Process(this.matcher.RootOpcode), this.message); 529throw TraceUtility.ThrowHelperError(e.Process(this.query), message); 533throw TraceUtility.ThrowHelperError(e.Process(this.query), message);
System\ServiceModel\Dispatcher\QueryProcessor.cs (2)
863throw TraceUtility.ThrowHelperError(e.Process(op), this.message); 867throw TraceUtility.ThrowHelperError(e.Process(op), this.message);
System\ServiceModel\Dispatcher\QuotaThrottle.cs (1)
64TraceUtility.TraceEvent(
System\ServiceModel\Dispatcher\ReplyChannelBinder.cs (4)
85throw TraceUtility.ThrowHelperError(new NotImplementedException(), message); 95throw TraceUtility.ThrowHelperError(new NotImplementedException(), message); 100throw TraceUtility.ThrowHelperError(new NotImplementedException(), message); 115throw TraceUtility.ThrowHelperError(new NotImplementedException(), message);
System\ServiceModel\Dispatcher\RequestChannelBinder.cs (1)
116throw System.ServiceModel.Diagnostics.TraceUtility.ThrowHelperError(error, message);
System\ServiceModel\Dispatcher\SecurityImpersonationBehavior.cs (3)
222throw TraceUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxSecurityContextPropertyMissingFromRequestMessage)), rpc.Request); 246throw TraceUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SecurityContextDoesNotAllowImpersonation, rpc.Operation.Action)), rpc.Request); 364throw TraceUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SecurityContextMissing, rpc.Operation.Name)), rpc.Request);
System\ServiceModel\Dispatcher\StreamFormatter.cs (10)
240throw TraceUtility.ThrowHelperError(new ArgumentNullException("buffer"), this.message); 242throw TraceUtility.ThrowHelperError(new ArgumentOutOfRangeException("offset", offset, 245throw TraceUtility.ThrowHelperError(new ArgumentOutOfRangeException("count", count, 248throw TraceUtility.ThrowHelperError(new ArgumentException(SR.GetString(SR.SFxInvalidStreamOffsetLength, offset + count)), this.message); 315set { throw TraceUtility.ThrowHelperError(new NotSupportedException(), message); } 336throw TraceUtility.ThrowHelperError(new NotSupportedException(), this.message); 339public override void Flush() { throw TraceUtility.ThrowHelperError(new NotSupportedException(), this.message); } 340public override long Seek(long offset, SeekOrigin origin) { throw TraceUtility.ThrowHelperError(new NotSupportedException(), this.message); } 341public override void SetLength(long value) { throw TraceUtility.ThrowHelperError(new NotSupportedException(), this.message); } 342public override void Write(byte[] buffer, int offset, int count) { throw TraceUtility.ThrowHelperError(new NotSupportedException(), this.message); }
System\ServiceModel\Dispatcher\SyncMethodInvoker.cs (7)
144else if (TraceUtility.MessageFlowTracingOnly) 146Guid activityId = TraceUtility.GetReceivedActivityId(OperationContext.Current); 152else if (TraceUtility.ShouldPropagateActivity) 170TD.OperationInvoked(eventTraceActivity, this.MethodName, TraceUtility.GetCallerInfo(OperationContext.Current)); 217TraceUtility.GetUtcBasedDurationForTrace(beginOperation)); 225TraceUtility.GetUtcBasedDurationForTrace(beginOperation)); 233TraceUtility.GetUtcBasedDurationForTrace(beginOperation));
System\ServiceModel\Dispatcher\TaskMethodInvoker.cs (1)
240TraceUtility.TraceUserCodeException(e, this.taskMethod);
System\ServiceModel\Dispatcher\TransactedBatchContext.cs (1)
304TraceUtility.TraceEvent(
System\ServiceModel\Dispatcher\TransactionBehavior.cs (15)
188TraceUtility.TraceEvent(TraceEventType.Information, 222TraceUtility.TraceEvent(TraceEventType.Information, 234TraceUtility.TraceEvent(TraceEventType.Information, 309TraceUtility.TraceEvent(TraceEventType.Information, 339TraceUtility.TraceEvent(TraceEventType.Information, 352TraceUtility.TraceEvent(TraceEventType.Information, 364throw TraceUtility.ThrowHelperError(TransactionBehavior.CreateFault 482TraceUtility.TraceEvent(TraceEventType.Information, 675TraceUtility.TraceEvent(TraceEventType.Information, 691TraceUtility.TraceEvent(TraceEventType.Information, 700TraceUtility.TraceEvent(TraceEventType.Information, 725TraceUtility.TraceEvent(TraceEventType.Information, 743TraceUtility.TraceEvent(TraceEventType.Information, 905TraceUtility.TraceEvent(TraceEventType.Information, 1049TraceUtility.TraceEvent(TraceEventType.Information,
System\ServiceModel\Dispatcher\XPathMessageFilterTable.cs (3)
303throw TraceUtility.ThrowHelperError(new MultipleFilterMatchesException(SR.GetString(SR.FilterMultipleMatches), null, filters), message); 385throw TraceUtility.ThrowHelperArgumentNull("results", message); 465throw TraceUtility.ThrowHelperArgumentNull("results", message);
System\ServiceModel\DuplexChannelFactory.cs (4)
76ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityConstructChannelFactory, TraceUtility.CreateSourceString(this)), ActivityType.Construct); 102ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityConstructChannelFactory, TraceUtility.CreateSourceString(this)), ActivityType.Construct); 138ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityConstructChannelFactory, TraceUtility.CreateSourceString(this)), ActivityType.Construct); 163ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityConstructChannelFactory, TraceUtility.CreateSourceString(this)), ActivityType.Construct);
System\ServiceModel\InstanceContext.cs (3)
418TraceUtility.TraceEvent(TraceEventType.Information, 427TraceUtility.TraceEvent(TraceEventType.Information, 479throw TraceUtility.ThrowHelperError(error, message);
System\ServiceModel\MsmqIntegration\MsmqIntegrationOutputChannel.cs (1)
147throw TraceUtility.ThrowHelperError(new ProtocolException(SR.GetString(SR.MessageSizeMustBeInIntegerRange)), message);
System\ServiceModel\Security\AcceleratedTokenAuthenticator.cs (4)
169throw TraceUtility.ThrowHelperArgumentNull("requestSecurityToken", request); 175throw TraceUtility.ThrowHelperWarning(new SecurityNegotiationException(SR.GetString(SR.InvalidRstRequestType, requestSecurityToken.RequestType)), request); 179throw TraceUtility.ThrowHelperWarning(new SecurityNegotiationException(SR.GetString(SR.CannotIssueRstTokenType, requestSecurityToken.TokenType)), request); 296throw TraceUtility.ThrowHelperWarning(new NotSupportedException(SR.GetString(SR.RstDirectDoesNotExpectRstr)), request);
System\ServiceModel\Security\AcceleratedTokenProvider.cs (2)
272throw TraceUtility.ThrowHelperError(new SecurityNegotiationException(SR.GetString(SR.InvalidActionForNegotiationMessage, incomingMessage.Headers.Action)), incomingMessage); 314throw TraceUtility.ThrowHelperError(new SecurityNegotiationException(SR.GetString(SR.BadSecurityNegotiationContext)), incomingMessage);
System\ServiceModel\Security\IdentityModelServiceAuthorizationManager.cs (1)
690TraceUtility.TraceEvent(
System\ServiceModel\Security\IssuanceTokenProviderBase.cs (5)
256throw TraceUtility.ThrowHelperError(e, Guid.Empty, this); 499TraceUtility.ProcessOutgoingMessage(nextOutgoingMessage, eventTraceActivity); 512TraceUtility.ProcessIncomingMessage(incomingMessage, eventTraceActivity); 520throw TraceUtility.ThrowHelperError(new SecurityNegotiationException(SR.GetString(SR.NoNegotiationMessageToSend)), incomingMessage); 1065throw TraceUtility.ThrowHelperError(new SecurityNegotiationException(SR.GetString(SR.NoNegotiationMessageToSend)), incomingMessage);
System\ServiceModel\Security\IssuedTokensHeader.cs (1)
201throw TraceUtility.ThrowHelperArgumentNull("actors", message);
System\ServiceModel\Security\MessageSecurityProtocol.cs (6)
202throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.NoSigningTokenAvailableToDoIncomingIdentityCheck)), message); 209throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.NoOutgoingEndpointAddressAvailableForDoingIdentityCheckOnReply)), message); 294throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.TokenNotExpectedInSecurityHeader, token)), message); 441throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.ReplyWasNotSignedWithRequiredSigningToken)), message); 858throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.TokenProviderCannotGetTokensForTarget, this.binding.Target)), this.message); 892throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.TokenProviderCannotGetTokensForTarget, this.binding.Target)), this.message);
System\ServiceModel\Security\NegotiationTokenAuthenticator.cs (1)
592throw TraceUtility.ThrowHelperError(new SecurityNegotiationException(SR.GetString(SR.InvalidActionForNegotiationMessage, message.Headers.Action)), message);
System\ServiceModel\Security\ReceiveSecurityHeader.cs (22)
402throw TraceUtility.ThrowHelperError(new ArgumentNullException("value"), this.Message); 406throw TraceUtility.ThrowHelperError(new InvalidOperationException( 421throw TraceUtility.ThrowHelperError(new ArgumentNullException("value"), this.Message); 425throw TraceUtility.ThrowHelperError(new InvalidOperationException( 749throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.SecurityHeaderIsEmpty)), this.Message); 876throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.RequiredSignatureMissing)), this.Message); 971throw TraceUtility.ThrowHelperError(new MessageSecurityException( 976throw TraceUtility.ThrowHelperError(new MessageSecurityException( 1204throw TraceUtility.ThrowHelperError(new MessageSecurityException( 1228throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.MissingIdInEncryptedElement)), this.Message); 1372throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.EncryptionNotExpected)), this.Message); 1387throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.EncryptionNotExpected)), this.Message); 1414throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.SignatureNotExpected)), this.Message); 1462throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.SignatureConfirmationsNotExpected)), this.Message); 1466throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.SignatureConfirmationsOccursAfterPrimarySignature)), this.Message); 1535throw TraceUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SupportingTokenSignaturesNotExpected)), this.Message); 1544throw TraceUtility.ThrowHelperError(new MessageSecurityException( 1560throw TraceUtility.ThrowHelperError(new MessageSecurityException( 1572throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.SignatureVerificationFailed)), this.Message); 1594throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.DuplicateTimestampInSecurityHeader)), this.Message); 1637throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.TokenManagerCouldNotReadToken, localName, namespaceUri, valueType)), this.Message); 1674throw TraceUtility.ThrowHelperError(new MessageSecurityException(
System\ServiceModel\Security\ReceiveSecurityHeaderElementManager.cs (1)
252throw TraceUtility.ThrowHelperError(
System\ServiceModel\Security\SecuritySessionClientSettings.cs (15)
806if (TraceUtility.PropagateUserActivity || TraceUtility.ShouldPropagateActivity) 808TraceUtility.AddAmbientActivityToMessage(closeMessage); 936throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.InvalidCloseResponseAction, response.Headers.Action)), response); 966throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.SessionTokenWasNotClosed)), response); 984TraceUtility.CopyActivity(request, reply); 985if (TraceUtility.PropagateUserActivity || TraceUtility.ShouldPropagateActivity) 987TraceUtility.AddActivityHeader(reply); 1011throw TraceUtility.ThrowHelperWarning(new MessageSecurityException(SR.GetString(SR.InvalidRstRequestType, rst.RequestType)), message); 1015throw TraceUtility.ThrowHelperWarning(new MessageSecurityException(SR.GetString(SR.NoCloseTargetSpecified)), message); 1020throw TraceUtility.ThrowHelperWarning(new MessageSecurityException(SR.GetString(SR.BadCloseTarget, rst.CloseTarget)), message); 2859throw TraceUtility.ThrowHelperWarning(error, message); 3134throw TraceUtility.ThrowHelperWarning(error, message); 3159this.queue = TraceUtility.CreateInputQueue<Message>();
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (10)
662throw TraceUtility.ThrowHelperWarning(new InvalidOperationException(SR.GetString(SR.CannotIssueRstTokenType, rst.TokenType)), request); 677throw TraceUtility.ThrowHelperWarning(new InvalidOperationException(SR.GetString(SR.SecurityContextMissing, request.Headers.Action)), request); 684throw TraceUtility.ThrowHelperWarning(new SecurityNegotiationException(SR.GetString(SR.WrongIdentityRenewingToken)), request); 771throw TraceUtility.ThrowHelperWarning(new SecurityNegotiationException(SR.GetString(SR.RenewSessionMissingSupportingToken)), request); 783throw TraceUtility.ThrowHelperWarning(new SecurityNegotiationException(SR.GetString(SR.InvalidRstRequestType, rst.RequestType)), request); 787throw TraceUtility.ThrowHelperWarning(new SecurityNegotiationException(SR.GetString(SR.NoRenewTargetSpecified)), request); 793throw TraceUtility.ThrowHelperWarning(new SecurityNegotiationException(SR.GetString(SR.BadRenewTarget, rst.RenewTarget)), request); 888throw TraceUtility.ThrowHelperWarning(new SecurityNegotiationException(SR.GetString(SR.InvalidRstRequestType, rst.RequestType)), request); 969throw TraceUtility.ThrowHelperWarning(new SecurityNegotiationException(SR.GetString(SR.SFxSecurityContextPropertyMissingFromRequestMessage)), request); 1030throw TraceUtility.ThrowHelperWarning(new SecurityNegotiationException(SR.GetString(SR.InvalidActionForNegotiationMessage, request.Headers.Action)), request);
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (3)
599TraceUtility.ProcessOutgoingMessage(requestMessage, eventTraceActivity); 613TraceUtility.ProcessIncomingMessage(reply, eventTraceActivity); 787throw TraceUtility.ThrowHelperError(new SecurityNegotiationException(SR.GetString(SR.InvalidRenewResponseAction, response.Headers.Action)), response);
System\ServiceModel\Security\SecuritySessionServerSettings.cs (19)
1395throw TraceUtility.ThrowHelperWarning(new MessageSecurityException(SR.GetString(SR.NoSessionTokenPresentInMessage)), message); 1562throw TraceUtility.ThrowHelperWarning(error, message); 1859TraceUtility.CopyActivity(request, reply); 1860if (TraceUtility.PropagateUserActivity || TraceUtility.ShouldPropagateActivity) 1862TraceUtility.AddActivityHeader(reply); 1938throw TraceUtility.ThrowHelperWarning(new MessageSecurityException(SR.GetString(SR.InvalidRstRequestType, rst.RequestType)), request); 1942throw TraceUtility.ThrowHelperWarning(new MessageSecurityException(SR.GetString(SR.NoCloseTargetSpecified)), request); 1947throw TraceUtility.ThrowHelperWarning(new MessageSecurityException(SR.GetString(SR.BadCloseTarget, rst.CloseTarget)), request); 2633TraceUtility.ExtractActivity(channel.initialRequestContext.RequestMessage) : null; 2679throw TraceUtility.ThrowHelperWarning(error, requestMessage); 2725TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.AsyncCallbackThrewException, SR.GetString(SR.TraceCodeAsyncCallbackThrewException), e.ToString()); 2749TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.AsyncCallbackThrewException, SR.GetString(SR.TraceCodeAsyncCallbackThrewException), e.ToString()); 3033throw TraceUtility.ThrowHelperWarning(error, message); 3075ServiceModelActivity activity = DiagnosticUtility.ShouldUseActivity ? TraceUtility.ExtractActivity(message) : null; 3362throw TraceUtility.ThrowHelperWarning(error, message); 3805throw TraceUtility.ThrowHelperWarning(error, message); 4325throw TraceUtility.ThrowHelperWarning(error, message); 4703TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.SecuritySessionDemuxFailure, SR.GetString(SR.TraceCodeSecuritySessionDemuxFailure), message);
System\ServiceModel\Security\SecurityStandardsManager.cs (2)
170throw System.ServiceModel.Diagnostics.TraceUtility.ThrowHelperError(new MessageSecurityException( 173throw System.ServiceModel.Diagnostics.TraceUtility.ThrowHelperError(new MessageSecurityException(
System\ServiceModel\Security\SecurityUtils.cs (3)
595throw System.ServiceModel.Diagnostics.TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.TokenNotExpectedInSecurityHeader, t2)), message); 1272throw TraceUtility.ThrowHelperError(faultException, message); 1793throw TraceUtility.ThrowHelperWarning(new SecurityNegotiationException(SR.GetString(SR.RequestSecurityTokenDoesNotMatchEndpointFilters, listenUri)), rst);
System\ServiceModel\Security\SecurityVerifiedMessage.cs (8)
75throw TraceUtility.ThrowHelperError(CreateMessageDisposedException(), this); 96throw TraceUtility.ThrowHelperError(CreateMessageDisposedException(), this); 134throw TraceUtility.ThrowHelperError(CreateBadStateException("CreateFullBodyReader"), this); 379throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.RequiredMessagePartNotEncrypted, name)), this); 383throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.RequiredMessagePartNotEncryptedNs, name, ns)), this); 391throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.RequiredMessagePartNotSigned, name)), this); 395throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.RequiredMessagePartNotSignedNs, name, ns)), this); 440throw TraceUtility.ThrowHelperError(CreateBadStateException("SetDecryptedBody"), this);
System\ServiceModel\Security\SendSecurityHeader.cs (20)
109throw TraceUtility.ThrowHelperError(new ArgumentNullException("value"), this.Message); 113throw TraceUtility.ThrowHelperError(new InvalidOperationException( 198throw TraceUtility.ThrowHelperError(new ArgumentNullException("value"), this.Message); 202throw TraceUtility.ThrowHelperError(new InvalidOperationException( 235throw TraceUtility.ThrowHelperArgumentNull("token", this.Message); 371throw TraceUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.TimestampAlreadySetForSecurityHeader)), this.Message); 375throw TraceUtility.ThrowHelperArgumentNull("timestamp", this.Message); 399throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.TokenManagerCannotCreateTokenReference)), this.Message); 595throw TraceUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.BasicTokenCannotBeWrittenWithoutEncryption)), this.Message); 751throw TraceUtility.ThrowHelperError(new ArgumentNullException("SignatureParts"), this.Message); 761throw TraceUtility.ThrowHelperError(new ArgumentNullException("EncryptionParts"), this.Message); 788throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.TokenManagerCannotCreateTokenReference)), this.Message); 870throw TraceUtility.ThrowHelperArgumentNull("token", this.Message); 874throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.TokenManagerCannotCreateTokenReference)), this.Message); 880throw TraceUtility.ThrowHelperError(new InvalidOperationException( 888throw TraceUtility.ThrowHelperError(new InvalidOperationException( 893throw TraceUtility.ThrowHelperError(new InvalidOperationException( 925throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.TokenManagerCannotCreateTokenReference)), this.Message); 956throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.TokenManagerCannotCreateTokenReference)), this.Message); 1005throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.TokenManagerCannotCreateTokenReference)), this.Message);
System\ServiceModel\Security\SspiNegotiationTokenAuthenticator.cs (6)
188throw TraceUtility.ThrowHelperArgumentNull("requestSecurityToken", request); 192throw TraceUtility.ThrowHelperWarning(new SecurityNegotiationException(SR.GetString(SR.InvalidRstRequestType, requestSecurityToken.RequestType)), request); 239throw TraceUtility.ThrowHelperArgumentNull("requestSecurityTokenResponse", request); 243throw TraceUtility.ThrowHelperError(new SecurityNegotiationException(SR.GetString(SR.BadSecurityNegotiationContext)), request); 261throw TraceUtility.ThrowHelperError(new SecurityNegotiationException(SR.GetString(SR.InvalidSspiNegotiation)), incomingMessage); 266throw TraceUtility.ThrowHelperError(new SecurityNegotiationException(SR.GetString(SR.NoBinaryNegoToSend)), incomingMessage);
System\ServiceModel\Security\SspiNegotiationTokenProvider.cs (7)
259throw TraceUtility.ThrowHelperError(new SecurityNegotiationException(SR.GetString(SR.AuthenticationOfClientFailed), fault), incomingMessage); 261throw TraceUtility.ThrowHelperError(new SecurityNegotiationException(SR.GetString(SR.FailedSspiNegotiation), fault), incomingMessage); 287throw TraceUtility.ThrowHelperError(new SecurityNegotiationException(SR.GetString(SR.AuthenticatorNotPresentInRSTRCollection)), incomingMessage); 291throw TraceUtility.ThrowHelperError(new SecurityNegotiationException(SR.GetString(SR.RSTRAuthenticatorHasBadContext)), incomingMessage); 308throw TraceUtility.ThrowHelperError(new SecurityNegotiationException(SR.GetString(SR.BadSecurityNegotiationContext)), incomingMessage); 324throw TraceUtility.ThrowHelperError(new SecurityNegotiationException(SR.GetString(SR.NoBinaryNegoToReceive)), incomingMessage); 341throw TraceUtility.ThrowHelperError(new SecurityNegotiationException(SR.GetString(SR.NoBinaryNegoToSend)), incomingMessage);
System\ServiceModel\Security\SymmetricSecurityProtocol.cs (1)
327throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.IncomingSigningTokenMustBeAnEncryptedKey)), message);
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (2)
959throw TraceUtility.ThrowHelperError(new SecurityNegotiationException(SR.GetString(SR.InvalidActionForNegotiationMessage, incomingMessage.Headers.Action)), incomingMessage); 986throw TraceUtility.ThrowHelperError(new SecurityNegotiationException(SR.GetString(SR.BadSecurityNegotiationContext)), incomingMessage);
System\ServiceModel\Security\Tokens\SupportingTokenParameters.cs (1)
160TraceUtility.TraceEvent(
System\ServiceModel\Security\TransportSecurityProtocol.cs (2)
229throw System.ServiceModel.Diagnostics.TraceUtility.ThrowHelperError(new MessageSecurityException( 232throw System.ServiceModel.Diagnostics.TraceUtility.ThrowHelperError(new MessageSecurityException(
System\ServiceModel\Security\WSSecurityOneDotZeroReceiveSecurityHeader.cs (4)
553throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.UnexpectedEncryptedElementInSecurityHeader)), this.Message); 559throw TraceUtility.ThrowHelperError( 742throw TraceUtility.ThrowHelperError( 753throw TraceUtility.ThrowHelperError(
System\ServiceModel\Security\WSSecurityOneDotZeroSendSecurityHeader.cs (6)
129throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.ElementToSignMustHaveId)), this.Message); 148throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.TokenManagerCannotCreateTokenReference)), this.Message); 175throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.ElementToSignMustHaveId)), this.Message); 195throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.TokenManagerCannotCreateTokenReference)), this.Message); 532throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.NoPartsOfMessageMatchedPartsToSign)), this.Message); 735throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.TokenManagerCannotCreateTokenReference)), this.Message);
System\ServiceModel\Security\WSSecurityTokenSerializer.cs (1)
441TraceUtility.TraceEvent(TraceEventType.Error, TraceCode.Security, SR.GetString(SR.TraceCodeSecurity), null, e);
System\ServiceModel\ServiceHost.cs (6)
60TraceUtility.SetEtwProviderId(); 507TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.DefaultEndpointsAdded, SR.GetString(SR.TraceCodeDefaultEndpointsAdded), new DictionaryTraceRecord(dictionary)); 904TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.ServiceHostTimeoutOnClose, SR.GetString(SR.TraceCodeServiceHostTimeoutOnClose), this, e); 935TraceUtility.TraceEvent(TraceEventType.Information, 967TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.ServiceHostTimeoutOnClose, 1114TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.ServiceHostFaulted,
System\ServiceModel\Syndication\AtomPub10CategoriesDocumentFormatter.cs (4)
165TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SyndicationReadCategoriesDocumentBegin, SR.GetString(SR.TraceCodeSyndicationReadCategoriesDocumentBegin)); 173TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SyndicationReadCategoriesDocumentEnd, SR.GetString(SR.TraceCodeSyndicationReadCategoriesDocumentEnd)); 181TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SyndicationWriteCategoriesDocumentBegin, SR.GetString(SR.TraceCodeSyndicationWriteCategoriesDocumentBegin)); 189TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SyndicationWriteCategoriesDocumentEnd, SR.GetString(SR.TraceCodeSyndicationWriteCategoriesDocumentEnd));
System\ServiceModel\Syndication\AtomPub10ServiceDocumentFormatter.cs (4)
166TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SyndicationReadServiceDocumentBegin, SR.GetString(SR.TraceCodeSyndicationReadServiceDocumentBegin)); 174TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SyndicationReadServiceDocumentEnd, SR.GetString(SR.TraceCodeSyndicationReadServiceDocumentEnd)); 182TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SyndicationWriteServiceDocumentBegin, SR.GetString(SR.TraceCodeSyndicationWriteServiceDocumentBegin)); 190TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SyndicationWriteServiceDocumentEnd, SR.GetString(SR.TraceCodeSyndicationWriteServiceDocumentEnd));
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (1)
185TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SyndicationProtocolElementIgnoredOnWrite, SR.GetString(message));
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (9)
478TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SyndicationReadFeedBegin, SR.GetString(SR.TraceCodeSyndicationFeedReadBegin)); 486TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SyndicationReadFeedEnd, SR.GetString(SR.TraceCodeSyndicationFeedReadEnd)); 494TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SyndicationWriteFeedBegin, SR.GetString(SR.TraceCodeSyndicationFeedWriteBegin)); 502TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SyndicationWriteFeedEnd, SR.GetString(SR.TraceCodeSyndicationFeedWriteEnd)); 510TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SyndicationReadItemBegin, SR.GetString(SR.TraceCodeSyndicationItemReadBegin)); 518TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SyndicationReadItemEnd, SR.GetString(SR.TraceCodeSyndicationItemReadEnd)); 526TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SyndicationWriteItemBegin, SR.GetString(SR.TraceCodeSyndicationItemWriteBegin)); 534TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SyndicationWriteItemEnd, SR.GetString(SR.TraceCodeSyndicationItemWriteEnd)); 542TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SyndicationProtocolElementIgnoredOnRead, SR.GetString(SR.TraceCodeSyndicationProtocolElementIgnoredOnRead, reader.NodeType, reader.LocalName, reader.NamespaceURI));
System\ServiceModel\Transactions\WsatProxy.cs (1)
68TraceUtility.TraceEvent(TraceEventType.Information,