218 references to TD
System.ServiceModel.Routing (218)
System\ServiceModel\Routing\ClientFactory.cs (6)
111
if (
TD
.RoutingServiceCreatingClientForEndpointIsEnabled())
113
TD
.RoutingServiceCreatingClientForEndpoint(this.Key.ToString());
401
if (
TD
.RoutingServiceDuplexCallbackExceptionIsEnabled())
403
TD
.RoutingServiceDuplexCallbackException(this.eventTraceActivity, "DuplexCallbackProxy.BeginProcessMessage", e);
418
if (
TD
.RoutingServiceDuplexCallbackExceptionIsEnabled())
420
TD
.RoutingServiceDuplexCallbackException(this.eventTraceActivity, "DuplexCallbackProxy.EndProcessMessage", e);
System\ServiceModel\Routing\MessageRpc.cs (21)
184
if (
TD
.RoutingServiceFilterTableMatchStartIsEnabled()) {
TD
.RoutingServiceFilterTableMatchStart(this.eventTraceActivity); }
186
if (
TD
.RoutingServiceFilterTableMatchStopIsEnabled()) {
TD
.RoutingServiceFilterTableMatchStop(this.eventTraceActivity); }
192
if (
TD
.RoutingServiceFilterTableMatchStartIsEnabled()) {
TD
.RoutingServiceFilterTableMatchStart(this.eventTraceActivity); }
194
if (
TD
.RoutingServiceFilterTableMatchStopIsEnabled()) {
TD
.RoutingServiceFilterTableMatchStop(this.eventTraceActivity); }
202
if (
TD
.RoutingServiceMessageRoutedToEndpointsIsEnabled())
204
TD
.RoutingServiceMessageRoutedToEndpoints(this.eventTraceActivity, this.UniqueID, "1");
216
if (
TD
.RoutingServiceFilterTableMatchStartIsEnabled()) {
TD
.RoutingServiceFilterTableMatchStart(this.eventTraceActivity); }
218
if (
TD
.RoutingServiceFilterTableMatchStopIsEnabled()) {
TD
.RoutingServiceFilterTableMatchStop(this.eventTraceActivity); }
224
if (
TD
.RoutingServiceFilterTableMatchStartIsEnabled()) {
TD
.RoutingServiceFilterTableMatchStart(this.eventTraceActivity); }
226
if (
TD
.RoutingServiceFilterTableMatchStopIsEnabled()) {
TD
.RoutingServiceFilterTableMatchStop(this.eventTraceActivity); }
229
if (
TD
.RoutingServiceMessageRoutedToEndpointsIsEnabled())
231
TD
.RoutingServiceMessageRoutedToEndpoints(this.eventTraceActivity, this.UniqueID, endpointLists.Count.ToString(
TD
.Culture));
System\ServiceModel\Routing\ProcessMessagesAsyncResult.cs (32)
53
if (
TD
.RoutingServiceProcessingMessageIsEnabled())
55
TD
.RoutingServiceProcessingMessage(messageRpc.EventTraceActivity, messageRpc.UniqueID, messageRpc.Message.Headers.Action, messageRpc.OperationContext.EndpointDispatcher.EndpointAddress.Uri.ToString(), (messageRpc.Transaction != null).ToString());
187
if (
TD
.RoutingServiceTransmittingMessageIsEnabled())
189
TD
.RoutingServiceTransmittingMessage(messageRpc.EventTraceActivity, messageRpc.UniqueID, this.destinationIndex.ToString(
TD
.Culture), this.client.Key.ToString());
290
if (
TD
.RoutingServiceTransmitSucceededIsEnabled())
292
TD
.RoutingServiceTransmitSucceeded(messageRpc.EventTraceActivity, messageRpc.UniqueID, this.destinationIndex.ToString(
TD
.Culture), currentDest.CurrentEndpoint.ToString());
327
if (
TD
.RoutingServiceAbandoningReceiveContextIsEnabled())
329
TD
.RoutingServiceAbandoningReceiveContext(messageRpc.EventTraceActivity, messageRpc.UniqueID);
340
if (
TD
.RoutingServiceHandledExceptionIsEnabled())
342
TD
.RoutingServiceHandledException(messageRpc.EventTraceActivity, e);
427
if (
TD
.RoutingServiceClosingClientIsEnabled())
429
TD
.RoutingServiceClosingClient(this.client.Key.ToString());
495
if (
TD
.RoutingServiceTransmitFailedIsEnabled())
497
TD
.RoutingServiceTransmitFailed(null, this.client.Key.ToString(), e);
550
if (
TD
.RoutingServiceMovedToBackupIsEnabled())
552
TD
.RoutingServiceMovedToBackup(messageRpc.EventTraceActivity, messageRpc.UniqueID, this.destinationIndex.ToString(
TD
.Culture), sendOperation.CurrentEndpoint.ToString());
591
if (
TD
.RoutingServiceCloseFailedIsEnabled())
593
TD
.RoutingServiceCloseFailed(this.client.Key.ToString(), e);
615
if (
TD
.RoutingServiceMovedToBackupIsEnabled())
617
TD
.RoutingServiceMovedToBackup(messageRpc.EventTraceActivity, messageRpc.UniqueID, this.destinationIndex.ToString(
TD
.Culture), sendOperation.CurrentEndpoint.ToString());
640
if (
TD
.RoutingServiceCompletingReceiveContextIsEnabled())
642
TD
.RoutingServiceCompletingReceiveContext(messageRpc.EventTraceActivity, messageRpc.UniqueID);
710
if (
TD
.RoutingServiceCommittingTransactionIsEnabled())
712
TD
.RoutingServiceCommittingTransaction(this.service.RetryTransaction.TransactionInformation.LocalIdentifier);
725
if (
TD
.RoutingServiceCommittingTransactionIsEnabled())
728
TD
.RoutingServiceCommittingTransaction(transaction != null ? transaction.TransactionInformation.LocalIdentifier : string.Empty);
777
if (
TD
.RoutingServiceCompletingOneWayIsEnabled()) {
TD
.RoutingServiceCompletingOneWay(exception); }
System\ServiceModel\Routing\ProcessRequestAsyncResult.cs (16)
33
if (
TD
.RoutingServiceProcessingMessageIsEnabled())
35
TD
.RoutingServiceProcessingMessage(this.messageRpc.EventTraceActivity, this.messageRpc.UniqueID,
61
if (
TD
.RoutingServiceTransmittingMessageIsEnabled())
63
TD
.RoutingServiceTransmittingMessage(this.messageRpc.EventTraceActivity, this.messageRpc.UniqueID, "0", this.currentClient.Key.ToString());
176
if (
TD
.RoutingServiceTransmitSucceededIsEnabled())
178
TD
.RoutingServiceTransmitSucceeded(this.messageRpc.EventTraceActivity, this.messageRpc.UniqueID, "0", this.currentClient.Key.ToString());
183
if (
TD
.RoutingServiceSendingResponseIsEnabled())
186
TD
.RoutingServiceSendingResponse(this.messageRpc.EventTraceActivity, action);
191
if (
TD
.RoutingServiceSendingFaultResponseIsEnabled()) {
TD
.RoutingServiceSendingFaultResponse(this.messageRpc.EventTraceActivity, responseMsg.Headers.Action); }
196
if (
TD
.RoutingServiceCompletingTwoWayIsEnabled()) {
TD
.RoutingServiceCompletingTwoWay(this.messageRpc.EventTraceActivity); }
209
if (
TD
.RoutingServiceTransmitFailedIsEnabled()) {
TD
.RoutingServiceTransmitFailed(this.messageRpc.EventTraceActivity, sendOperation.CurrentEndpoint.ToString(), exception); }
270
if (
TD
.RoutingServiceMovedToBackupIsEnabled())
272
TD
.RoutingServiceMovedToBackup(this.messageRpc.EventTraceActivity, messageRpc.UniqueID, "0", sendOperation.CurrentEndpoint.ToString());
System\ServiceModel\Routing\RoutingChannelExtension.cs (2)
145
if (exception != null &&
TD
.RoutingServiceHandledExceptionIsEnabled())
147
TD
.RoutingServiceHandledException(null, exception);
System\ServiceModel\Routing\RoutingExtension.cs (12)
22
if (
TD
.RoutingServiceDisplayConfigIsEnabled())
24
TD
.RoutingServiceDisplayConfig(
25
configuration.RouteOnHeadersOnly.ToString(
TD
.Culture),
26
configuration.SoapProcessingEnabled.ToString(
TD
.Culture),
27
configuration.EnsureOrderedDispatch.ToString(
TD
.Culture));
56
if (
TD
.RoutingServiceConfigurationAppliedIsEnabled())
58
TD
.RoutingServiceConfigurationApplied();
60
if (
TD
.RoutingServiceDisplayConfigIsEnabled())
62
TD
.RoutingServiceDisplayConfig(
63
routingConfiguration.RouteOnHeadersOnly.ToString(
TD
.Culture),
64
routingConfiguration.SoapProcessingEnabled.ToString(
TD
.Culture),
65
routingConfiguration.EnsureOrderedDispatch.ToString(
TD
.Culture));
System\ServiceModel\Routing\RoutingService.cs (12)
117
if (
TD
.RoutingServiceUsingExistingTransactionIsEnabled())
119
TD
.RoutingServiceUsingExistingTransaction(messageRpc.EventTraceActivity, messageRpc.Transaction.TransactionInformation.LocalIdentifier);
146
if (
TD
.RoutingServiceCreatingTransactionIsEnabled())
148
TD
.RoutingServiceCreatingTransaction(messageRpc.EventTraceActivity, this.RetryTransaction.TransactionInformation.LocalIdentifier);
278
if (
TD
.RoutingServiceProcessingFailureIsEnabled())
280
TD
.RoutingServiceProcessingFailure(this.eventTraceActivity, OperationContext.Current.Channel.LocalAddress.ToString(), exception);
295
if (
TD
.RoutingServiceProcessingFailureIsEnabled())
297
TD
.RoutingServiceProcessingFailure(this.eventTraceActivity, OperationContext.Current.Channel.LocalAddress.ToString(), exception);
312
if (
TD
.RoutingServiceProcessingFailureIsEnabled())
314
TD
.RoutingServiceProcessingFailure(this.eventTraceActivity, OperationContext.Current.Channel.LocalAddress.ToString(), exception);
329
if (
TD
.RoutingServiceProcessingFailureIsEnabled())
331
TD
.RoutingServiceProcessingFailure(this.eventTraceActivity, OperationContext.Current.Channel.LocalAddress.ToString(), exception);
System\ServiceModel\Routing\RoutingUtilities.cs (6)
21
if (
TD
.RoutingServiceAbortingChannelIsEnabled())
23
TD
.RoutingServiceAbortingChannel(identifier != null ? identifier.ToString() : string.Empty);
103
if (
TD
.RoutingServiceHandledExceptionIsEnabled())
105
TD
.RoutingServiceHandledException(null, transactionException);
110
if (
TD
.RoutingServiceHandledExceptionIsEnabled())
112
TD
.RoutingServiceHandledException(null, disposedException);
System\ServiceModel\Routing\SessionChannels.cs (4)
35
if (
TD
.RoutingServiceChannelFaultedIsEnabled())
37
TD
.RoutingServiceChannelFaulted(client.Key.ToString());
61
if (
TD
.RoutingServiceClosingClientIsEnabled())
63
TD
.RoutingServiceClosingClient(((IRoutingClient)client).Key.ToString());
TD.Designer.cs (107)
43
resourceManager = new System.Resources.ResourceManager("System.ServiceModel.Routing.TD", typeof(
TD
).Assembly);
69
&& (FxTrace.ShouldTraceInformationToTraceSource ||
TD
.IsEtwEventEnabled(0)));
80
if (
TD
.IsEtwEventEnabled(0))
82
TD
.WriteEtwEvent(0, null, param0, payload.AppDomainFriendlyName);
87
TD
.WriteTraceSource(0, description, payload);
98
&& (FxTrace.ShouldTraceWarningToTraceSource ||
TD
.IsEtwEventEnabled(1)));
109
if (
TD
.IsEtwEventEnabled(1))
111
TD
.WriteEtwEvent(1, null, param0, payload.AppDomainFriendlyName);
116
TD
.WriteTraceSource(1, description, payload);
127
&& (FxTrace.ShouldTraceInformationToTraceSource ||
TD
.IsEtwEventEnabled(2)));
138
if (
TD
.IsEtwEventEnabled(2))
140
TD
.WriteEtwEvent(2, null, payload.SerializedException, payload.AppDomainFriendlyName);
145
TD
.WriteTraceSource(2, description, payload);
156
&& (FxTrace.ShouldTraceInformationToTraceSource ||
TD
.IsEtwEventEnabled(3)));
167
if (
TD
.IsEtwEventEnabled(3))
169
TD
.WriteEtwEvent(3, eventTraceActivity, payload.AppDomainFriendlyName);
174
TD
.WriteTraceSource(3, description, payload);
185
&& (FxTrace.ShouldTraceErrorToTraceSource ||
TD
.IsEtwEventEnabled(4)));
198
if (
TD
.IsEtwEventEnabled(4))
200
TD
.WriteEtwEvent(4, eventTraceActivity, param0, payload.SerializedException, payload.AppDomainFriendlyName);
205
TD
.WriteTraceSource(4, description, payload);
216
&& (FxTrace.ShouldTraceInformationToTraceSource ||
TD
.IsEtwEventEnabled(5)));
227
if (
TD
.IsEtwEventEnabled(5))
229
TD
.WriteEtwEvent(5, null, param0, payload.AppDomainFriendlyName);
234
TD
.WriteTraceSource(5, description, payload);
245
&& (FxTrace.ShouldTraceVerboseToTraceSource ||
TD
.IsEtwEventEnabled(6)));
258
if (
TD
.IsEtwEventEnabled(6))
260
TD
.WriteEtwEvent(6, null, param0, param1, param2, payload.AppDomainFriendlyName);
265
TD
.WriteTraceSource(6, description, payload);
276
&& (FxTrace.ShouldTraceVerboseToTraceSource ||
TD
.IsEtwEventEnabled(7)));
289
if (
TD
.IsEtwEventEnabled(7))
291
TD
.WriteEtwEvent(7, eventTraceActivity, param0, param1, payload.AppDomainFriendlyName);
296
TD
.WriteTraceSource(7, description, payload);
307
&& (FxTrace.ShouldTraceInformationToTraceSource ||
TD
.IsEtwEventEnabled(8)));
317
if (
TD
.IsEtwEventEnabled(8))
319
TD
.WriteEtwEvent(8, null, payload.AppDomainFriendlyName);
324
TD
.WriteTraceSource(8, description, payload);
335
&& (FxTrace.ShouldTraceInformationToTraceSource ||
TD
.IsEtwEventEnabled(9)));
350
if (
TD
.IsEtwEventEnabled(9))
352
TD
.WriteEtwEvent(9, eventTraceActivity, param0, param1, param2, param3, payload.AppDomainFriendlyName);
357
TD
.WriteTraceSource(9, description, payload);
368
&& (FxTrace.ShouldTraceInformationToTraceSource ||
TD
.IsEtwEventEnabled(10)));
382
if (
TD
.IsEtwEventEnabled(10))
384
TD
.WriteEtwEvent(10, eventTraceActivity, param0, param1, param2, payload.AppDomainFriendlyName);
389
TD
.WriteTraceSource(10, description, payload);
400
&& (FxTrace.ShouldTraceInformationToTraceSource ||
TD
.IsEtwEventEnabled(11)));
411
if (
TD
.IsEtwEventEnabled(11))
413
TD
.WriteEtwEvent(11, null, param0, payload.AppDomainFriendlyName);
418
TD
.WriteTraceSource(11, description, payload);
429
&& (FxTrace.ShouldTraceErrorToTraceSource ||
TD
.IsEtwEventEnabled(12)));
442
if (
TD
.IsEtwEventEnabled(12))
444
TD
.WriteEtwEvent(12, eventTraceActivity, param0, payload.SerializedException, payload.AppDomainFriendlyName);
449
TD
.WriteTraceSource(12, description, payload);
460
&& (FxTrace.ShouldTraceInformationToTraceSource ||
TD
.IsEtwEventEnabled(13)));
474
if (
TD
.IsEtwEventEnabled(13))
476
TD
.WriteEtwEvent(13, eventTraceActivity, param0, param1, param2, payload.AppDomainFriendlyName);
481
TD
.WriteTraceSource(13, description, payload);
492
&& (FxTrace.ShouldTraceInformationToTraceSource ||
TD
.IsEtwEventEnabled(14)));
504
if (
TD
.IsEtwEventEnabled(14))
506
TD
.WriteEtwEvent(14, eventTraceActivity, param0, payload.AppDomainFriendlyName);
511
TD
.WriteTraceSource(14, description, payload);
522
&& (FxTrace.ShouldTraceWarningToTraceSource ||
TD
.IsEtwEventEnabled(15)));
534
if (
TD
.IsEtwEventEnabled(15))
536
TD
.WriteEtwEvent(15, null, param0, payload.SerializedException, payload.AppDomainFriendlyName);
541
TD
.WriteTraceSource(15, description, payload);
552
&& (FxTrace.ShouldTraceInformationToTraceSource ||
TD
.IsEtwEventEnabled(16)));
564
if (
TD
.IsEtwEventEnabled(16))
566
TD
.WriteEtwEvent(16, eventTraceActivity, param0, payload.AppDomainFriendlyName);
571
TD
.WriteTraceSource(16, description, payload);
582
&& (FxTrace.ShouldTraceWarningToTraceSource ||
TD
.IsEtwEventEnabled(17)));
594
if (
TD
.IsEtwEventEnabled(17))
596
TD
.WriteEtwEvent(17, eventTraceActivity, param0, payload.AppDomainFriendlyName);
601
TD
.WriteTraceSource(17, description, payload);
612
&& (FxTrace.ShouldTraceVerboseToTraceSource ||
TD
.IsEtwEventEnabled(18)));
624
if (
TD
.IsEtwEventEnabled(18))
626
TD
.WriteEtwEvent(18, eventTraceActivity, param0, payload.AppDomainFriendlyName);
631
TD
.WriteTraceSource(18, description, payload);
642
&& (FxTrace.ShouldTraceWarningToTraceSource ||
TD
.IsEtwEventEnabled(19)));
654
if (
TD
.IsEtwEventEnabled(19))
656
TD
.WriteEtwEvent(19, eventTraceActivity, param0, payload.AppDomainFriendlyName);
661
TD
.WriteTraceSource(19, description, payload);
672
&& (FxTrace.ShouldTraceVerboseToTraceSource ||
TD
.IsEtwEventEnabled(20)));
684
if (
TD
.IsEtwEventEnabled(20))
686
TD
.WriteEtwEvent(20, eventTraceActivity, param0, payload.AppDomainFriendlyName);
691
TD
.WriteTraceSource(20, description, payload);
702
&& (FxTrace.ShouldTraceWarningToTraceSource ||
TD
.IsEtwEventEnabled(21)));
715
if (
TD
.IsEtwEventEnabled(21))
717
TD
.WriteEtwEvent(21, eventTraceActivity, param0, payload.SerializedException, payload.AppDomainFriendlyName);
722
TD
.WriteTraceSource(21, description, payload);
732
return (FxTrace.ShouldTraceInformation &&
TD
.IsEtwEventEnabled(22));
743
if (
TD
.IsEtwEventEnabled(22))
745
TD
.WriteEtwEvent(22, eventTraceActivity, payload.AppDomainFriendlyName);
755
return (FxTrace.ShouldTraceInformation &&
TD
.IsEtwEventEnabled(23));
766
if (
TD
.IsEtwEventEnabled(23))
768
TD
.WriteEtwEvent(23, eventTraceActivity, payload.AppDomainFriendlyName);
779
&& (FxTrace.ShouldTraceVerboseToTraceSource ||
TD
.IsEtwEventEnabled(24)));
790
if (
TD
.IsEtwEventEnabled(24))
792
TD
.WriteEtwEvent(24, null, param0, payload.AppDomainFriendlyName);
797
TD
.WriteTraceSource(24, description, payload);
808
&& (FxTrace.ShouldTraceVerboseToTraceSource ||
TD
.IsEtwEventEnabled(25)));
820
if (
TD
.IsEtwEventEnabled(25))
822
TD
.WriteEtwEvent(25, eventTraceActivity, payload.SerializedException, payload.AppDomainFriendlyName);
827
TD
.WriteTraceSource(25, description, payload);
838
&& (FxTrace.ShouldTraceInformationToTraceSource ||
TD
.IsEtwEventEnabled(26)));
852
if (
TD
.IsEtwEventEnabled(26))
854
TD
.WriteEtwEvent(26, eventTraceActivity, param0, param1, param2, payload.AppDomainFriendlyName);
859
TD
.WriteTraceSource(26, description, payload);