130 references to TD
System.ServiceModel.Activities (130)
System\ServiceModel\Activities\Dispatcher\BufferedReceiveManager.cs (6)
405
if (
TD
.PendingMessagesPerChannelRatioIsEnabled())
407
TD
.PendingMessagesPerChannelRatio(entry.Count, this.maxPendingMessagesPerChannel);
413
if (
TD
.MaxPendingMessagesPerChannelExceededIsEnabled())
417
TD
.MaxPendingMessagesPerChannelExceeded(this.maxPendingMessagesPerChannel);
435
if (
TD
.PendingMessagesPerChannelRatioIsEnabled())
437
TD
.PendingMessagesPerChannelRatio(entry.Count, this.maxPendingMessagesPerChannel);
System\ServiceModel\Activities\Dispatcher\ControlOperationInvoker.cs (2)
466
if (
TD
.BufferOutOfOrderMessageNoInstanceIsEnabled())
468
TD
.BufferOutOfOrderMessageNoInstance(this.invoker.StaticBookmarkName);
System\ServiceModel\Activities\Dispatcher\CorrelationKeyCalculator.cs (3)
123
if (
TD
.TraceCorrelationKeysIsEnabled())
166
if (
TD
.TraceCorrelationKeysIsEnabled())
211
TD
.TraceCorrelationKeys(instanceKey.Value, keyValueAsString.ToString(), this.parent.scopeName.ToString());
System\ServiceModel\Activities\Dispatcher\PersistenceProviderDirectory.cs (2)
1427
if (
TD
.MaxInstancesExceededIsEnabled())
1431
TD
.MaxInstancesExceeded(this.maxCount);
System\ServiceModel\Activities\InternalReceiveMessage.cs (8)
502
if (
TD
.StartSignpostEventIsEnabled())
504
TD
.StartSignpostEvent(new DictionaryTraceRecord(new Dictionary<string, string>(3) {
511
else if (
TD
.WfMessageReceivedIsEnabled())
513
TD
.WfMessageReceived(new EventTraceActivity(receivedActivityId), executionContext.WorkflowInstanceId);
833
if (
TD
.StopSignpostEventIsEnabled())
835
TD
.StopSignpostEvent(new DictionaryTraceRecord(new Dictionary<string, string>(3) {
843
else if (
TD
.WfMessageReceivedIsEnabled())
845
TD
.WfMessageReceived(new EventTraceActivity(executionContext.WorkflowInstanceId), ambientActivityId);
System\ServiceModel\Activities\InternalSendMessage.cs (16)
368
if (
TD
.DuplicateCorrelationQueryIsEnabled())
370
TD
.DuplicateCorrelationQuery(query.Where.ToString());
1061
if (
TD
.StopSignpostEventIsEnabled())
1063
TD
.StopSignpostEvent(new DictionaryTraceRecord(new Dictionary<string, string>(3) {
1173
if (
TD
.StartSignpostEventIsEnabled())
1175
TD
.StartSignpostEvent(new DictionaryTraceRecord(new Dictionary<string, string>(3) {
1199
if (
TD
.StopSignpostEventIsEnabled())
1201
TD
.StopSignpostEvent(new DictionaryTraceRecord(new Dictionary<string, string>(3) {
1209
if (
TD
.WfMessageSentIsEnabled())
1217
TD
.WfMessageSent(eta, ambientActivityId);
1386
if (cacheItem == null &&
TD
.SendMessageChannelCacheMissIsEnabled())
1388
TD
.SendMessageChannelCacheMiss();
2015
if (
TD
.StopSignpostEventIsEnabled())
2017
TD
.StopSignpostEvent(new DictionaryTraceRecord(new Dictionary<string, string>(3) {
2026
if (
TD
.WfMessageSentIsEnabled())
2034
TD
.WfMessageSent(eta, this.ambientActivityId);
System\ServiceModel\Activities\Tracking\DefaultProfileManager.cs (2)
80
if (
TD
.TrackingProfileNotFoundIsEnabled())
82
TD
.TrackingProfileNotFound(profileName, activityDefinitionId);
System\ServiceModel\Activities\TransactedReceiveScope.cs (2)
304
if (
TD
.TransactedReceiveScopeEndCommitFailedIsEnabled())
306
TD
.TransactedReceiveScopeEndCommitFailed(committableTransaction.TransactionInformation.LocalIdentifier, ex.Message);
System\ServiceModel\Activities\WorkflowOperationContext.cs (6)
345
if (
TD
.StartSignpostEventIsEnabled())
347
TD
.StartSignpostEvent(new DictionaryTraceRecord(new Dictionary<string, string>(2) {
415
if (
TD
.StopSignpostEventIsEnabled())
417
TD
.StopSignpostEvent(new DictionaryTraceRecord(new Dictionary<string, string>(2) {
680
if (
TD
.BufferOutOfOrderMessageNoBookmarkIsEnabled())
682
TD
.BufferOutOfOrderMessageNoBookmark(thisPtr.eventTraceActivity, thisPtr.workflowInstance.Id.ToString(), thisPtr.bookmark.Name);
System\ServiceModel\Activities\WorkflowService.cs (4)
514
if (
TD
.InferredContractDescriptionIsEnabled())
518
TD
.InferredContractDescription(contract.Name, contract.Namespace);
520
if (
TD
.InferredOperationDescriptionIsEnabled())
524
TD
.InferredOperationDescription(operation.Name, contract.Name, operation.IsOneWay.ToString());
System\ServiceModel\Activities\WorkflowServiceHost.cs (8)
269
if (
TD
.CreateWorkflowServiceHostStartIsEnabled())
271
TD
.CreateWorkflowServiceHostStart();
280
if (
TD
.CreateWorkflowServiceHostStopIsEnabled())
282
TD
.CreateWorkflowServiceHostStop();
364
if (
TD
.ServiceEndpointAddedIsEnabled())
366
TD
.ServiceEndpointAdded(address.Uri.ToString(), binding.GetType().ToString(), serviceEndpoint.Contract.Name);
609
if (
TD
.DuplicateCorrelationQueryIsEnabled())
611
TD
.DuplicateCorrelationQuery(correlationQuery.Where.ToString());
TD.Designer.cs (71)
43
resourceManager = new System.Resources.ResourceManager("System.ServiceModel.Activities.TD", typeof(
TD
).Assembly);
69
&& (FxTrace.ShouldTraceWarningToTraceSource ||
TD
.IsEtwEventEnabled(0)));
80
if (
TD
.IsEtwEventEnabled(0))
82
TD
.WriteEtwEvent(0, null, limit, payload.AppDomainFriendlyName);
87
TD
.WriteTraceSource(0, description, payload);
98
&& (FxTrace.ShouldTraceInformationToTraceSource ||
TD
.IsEtwEventEnabled(1)));
110
if (
TD
.IsEtwEventEnabled(1))
112
TD
.WriteEtwEvent(1, null, param0, param1, payload.AppDomainFriendlyName);
117
TD
.WriteTraceSource(1, description, payload);
128
&& (FxTrace.ShouldTraceInformationToTraceSource ||
TD
.IsEtwEventEnabled(2)));
141
if (
TD
.IsEtwEventEnabled(2))
143
TD
.WriteEtwEvent(2, null, param0, param1, param2, payload.AppDomainFriendlyName);
148
TD
.WriteTraceSource(2, description, payload);
159
&& (FxTrace.ShouldTraceWarningToTraceSource ||
TD
.IsEtwEventEnabled(3)));
170
if (
TD
.IsEtwEventEnabled(3))
172
TD
.WriteEtwEvent(3, null, param0, payload.AppDomainFriendlyName);
177
TD
.WriteTraceSource(3, description, payload);
188
&& (FxTrace.ShouldTraceInformationToTraceSource ||
TD
.IsEtwEventEnabled(4)));
201
if (
TD
.IsEtwEventEnabled(4))
203
TD
.WriteEtwEvent(4, null, param0, param1, param2, payload.AppDomainFriendlyName);
208
TD
.WriteTraceSource(4, description, payload);
219
&& (FxTrace.ShouldTraceInformationToTraceSource ||
TD
.IsEtwEventEnabled(5)));
230
if (
TD
.IsEtwEventEnabled(5))
232
TD
.WriteEtwEvent(5, null, payload.ExtendedData, payload.AppDomainFriendlyName);
237
TD
.WriteTraceSource(5, description, payload);
248
&& (FxTrace.ShouldTraceInformationToTraceSource ||
TD
.IsEtwEventEnabled(6)));
259
if (
TD
.IsEtwEventEnabled(6))
261
TD
.WriteEtwEvent(6, null, payload.ExtendedData, payload.AppDomainFriendlyName);
266
TD
.WriteTraceSource(6, description, payload);
277
&& (FxTrace.ShouldTraceInformationToTraceSource ||
TD
.IsEtwEventEnabled(7)));
288
if (
TD
.IsEtwEventEnabled(7))
290
TD
.WriteEtwEvent(7, null, param0, payload.AppDomainFriendlyName);
295
TD
.WriteTraceSource(7, description, payload);
306
&& (FxTrace.ShouldTraceInformationToTraceSource ||
TD
.IsEtwEventEnabled(8)));
319
if (
TD
.IsEtwEventEnabled(8))
321
TD
.WriteEtwEvent(8, eventTraceActivity, param0, param1, payload.AppDomainFriendlyName);
326
TD
.WriteTraceSource(8, description, payload);
337
&& (FxTrace.ShouldTraceWarningToTraceSource ||
TD
.IsEtwEventEnabled(9)));
348
if (
TD
.IsEtwEventEnabled(9))
350
TD
.WriteEtwEvent(9, null, limit, payload.AppDomainFriendlyName);
355
TD
.WriteTraceSource(9, description, payload);
365
return (FxTrace.ShouldTraceInformation &&
TD
.IsEtwEventEnabled(10));
375
if (
TD
.IsEtwEventEnabled(10))
377
TD
.WriteEtwEvent(10, null, payload.AppDomainFriendlyName);
387
return (FxTrace.ShouldTraceInformation &&
TD
.IsEtwEventEnabled(11));
397
if (
TD
.IsEtwEventEnabled(11))
399
TD
.WriteEtwEvent(11, null, payload.AppDomainFriendlyName);
410
&& (FxTrace.ShouldTraceInformationToTraceSource ||
TD
.IsEtwEventEnabled(12)));
422
if (
TD
.IsEtwEventEnabled(12))
424
TD
.WriteEtwEvent(12, null, param0, param1, payload.AppDomainFriendlyName);
429
TD
.WriteTraceSource(12, description, payload);
440
&& (FxTrace.ShouldTraceVerboseToTraceSource ||
TD
.IsEtwEventEnabled(13)));
452
if (
TD
.IsEtwEventEnabled(13))
454
TD
.WriteEtwEvent(13, null, TrackingProfile, ActivityDefinitionId, payload.AppDomainFriendlyName);
459
TD
.WriteTraceSource(13, description, payload);
470
&& (FxTrace.ShouldTraceInformationToTraceSource ||
TD
.IsEtwEventEnabled(14)));
483
if (
TD
.IsEtwEventEnabled(14))
485
TD
.WriteEtwEvent(14, null, InstanceKey, Values, ParentScope, payload.HostReference, payload.AppDomainFriendlyName);
490
TD
.WriteTraceSource(14, description, payload);
500
return (FxTrace.ShouldTraceVerbose &&
TD
.IsEtwEventEnabled(15));
510
if (
TD
.IsEtwEventEnabled(15))
512
TD
.WriteEtwEvent(15, null, payload.AppDomainFriendlyName);
522
return (FxTrace.ShouldTraceInformation &&
TD
.IsEtwEventEnabled(16));
534
if (
TD
.IsEtwEventEnabled(16))
536
TD
.WriteEtwTransferEvent(16, eventTraceActivity, relatedActivityId, payload.AppDomainFriendlyName);
546
return (FxTrace.ShouldTraceInformation &&
TD
.IsEtwEventEnabled(17));
558
if (
TD
.IsEtwEventEnabled(17))
560
TD
.WriteEtwTransferEvent(17, eventTraceActivity, relatedActivityId, payload.AppDomainFriendlyName);
570
return (FxTrace.ShouldTraceVerbose &&
TD
.IsEtwEventEnabled(18));
582
if (
TD
.IsEtwEventEnabled(18))
584
TD
.WriteEtwEvent(18, null, cur, max, payload.AppDomainFriendlyName);