89 references to TD
System.Activities.DurableInstancing (89)
System\Activities\DurableInstancing\DetectActivatableWorkflowsTask.cs (2)
28
if (
TD
.RunnableInstancesDetectionErrorIsEnabled())
30
TD
.RunnableInstancesDetectionError(exception);
System\Activities\DurableInstancing\DetectRunnableInstancesTask.cs (2)
28
if (
TD
.RunnableInstancesDetectionErrorIsEnabled())
30
TD
.RunnableInstancesDetectionError(exception);
System\Activities\DurableInstancing\LoadRetryAsyncResult.cs (2)
104
else if (
TD
.LockRetryTimeoutIsEnabled())
106
TD
.LockRetryTimeout(tryCommandAsyncResult.InstancePersistenceContext.EventTraceActivity, tryCommandAsyncResult.commandTimeout.OriginalTimeout.ToString());
System\Activities\DurableInstancing\LockRecoveryTask.cs (2)
18
if (
TD
.InstanceLocksRecoveryErrorIsEnabled())
20
TD
.InstanceLocksRecoveryError(exception);
System\Activities\DurableInstancing\LockRenewalTask.cs (2)
18
if (
TD
.RenewLockSystemErrorIsEnabled())
20
TD
.RenewLockSystemError();
System\Activities\DurableInstancing\SqlCommandAsyncResult.cs (16)
159
if (
TD
.SqlExceptionCaughtIsEnabled())
161
TD
.SqlExceptionCaught(this.eventTraceActivity, exception.Number.ToString(CultureInfo.InvariantCulture), exception.Message);
181
if (
TD
.RetryingSqlCommandDueToSqlErrorIsEnabled())
183
TD
.RetryingSqlCommandDueToSqlError(this.eventTraceActivity, exception.Number.ToString(CultureInfo.InvariantCulture));
192
if (this.retryCount == maximumRetries &&
TD
.MaximumRetriesExceededForSqlCommandIsEnabled())
194
TD
.MaximumRetriesExceededForSqlCommand(this.eventTraceActivity);
217
if (
TD
.QueuingSqlRetryIsEnabled())
219
TD
.QueuingSqlRetry(this.eventTraceActivity, delay.ToString(CultureInfo.InvariantCulture));
293
if (
TD
.SqlExceptionCaughtIsEnabled())
295
TD
.SqlExceptionCaught(this.eventTraceActivity, exception.Number.ToString(null, CultureInfo.InvariantCulture), exception.Message);
308
if (
TD
.RetryingSqlCommandDueToSqlErrorIsEnabled())
310
TD
.RetryingSqlCommandDueToSqlError(this.eventTraceActivity, exception.Number.ToString(CultureInfo.InvariantCulture));
329
if (
TD
.TimeoutOpeningSqlConnectionIsEnabled())
331
TD
.TimeoutOpeningSqlConnection(this.eventTraceActivity, this.timeoutHelper.OriginalTimeout.ToString());
336
if (
TD
.MaximumRetriesExceededForSqlCommandIsEnabled())
338
TD
.MaximumRetriesExceededForSqlCommand(this.eventTraceActivity);
System\Activities\DurableInstancing\SqlWorkflowInstanceStore.cs (4)
639
if (
TD
.UnlockInstanceExceptionIsEnabled())
641
TD
.UnlockInstanceException(e.Message);
674
if (
TD
.UnlockInstanceExceptionIsEnabled())
676
TD
.UnlockInstanceException(exception.Message);
System\Activities\DurableInstancing\SqlWorkflowInstanceStoreAsyncResult.cs (2)
332
if (traceException &&
TD
.FoundProcessingErrorIsEnabled())
334
TD
.FoundProcessingError((this.InstancePersistenceContext != null) ? this.InstancePersistenceContext.EventTraceActivity : null,
System\Activities\DurableInstancing\StoreUtilities.cs (4)
140
if (((isStarting &&
TD
.StartSqlCommandExecuteIsEnabled()) ||
141
(!isStarting &&
TD
.EndSqlCommandExecuteIsEnabled())) && command != null)
177
TD
.StartSqlCommandExecute(traceString.ToString());
181
TD
.EndSqlCommandExecute(traceString.ToString());
TD.Designer.cs (53)
43
resourceManager = new System.Resources.ResourceManager("System.Activities.DurableInstancing.TD", typeof(
TD
).Assembly);
69
&& (FxTrace.ShouldTraceVerboseToTraceSource ||
TD
.IsEtwEventEnabled(0)));
80
if (
TD
.IsEtwEventEnabled(0))
82
TD
.WriteEtwEvent(0, null, param0, payload.AppDomainFriendlyName);
87
TD
.WriteTraceSource(0, description, payload);
98
&& (FxTrace.ShouldTraceVerboseToTraceSource ||
TD
.IsEtwEventEnabled(1)));
109
if (
TD
.IsEtwEventEnabled(1))
111
TD
.WriteEtwEvent(1, null, param0, payload.AppDomainFriendlyName);
116
TD
.WriteTraceSource(1, description, payload);
127
&& (FxTrace.ShouldTraceErrorToTraceSource ||
TD
.IsEtwEventEnabled(2)));
137
if (
TD
.IsEtwEventEnabled(2))
139
TD
.WriteEtwEvent(2, null, payload.AppDomainFriendlyName);
144
TD
.WriteTraceSource(2, description, payload);
155
&& (FxTrace.ShouldTraceErrorToTraceSource ||
TD
.IsEtwEventEnabled(3)));
168
if (
TD
.IsEtwEventEnabled(3))
170
TD
.WriteEtwEvent(3, eventTraceActivity, param0, payload.SerializedException, payload.AppDomainFriendlyName);
175
TD
.WriteTraceSource(3, description, payload);
186
&& (FxTrace.ShouldTraceErrorToTraceSource ||
TD
.IsEtwEventEnabled(4)));
197
if (
TD
.IsEtwEventEnabled(4))
199
TD
.WriteEtwEvent(4, null, param0, payload.AppDomainFriendlyName);
204
TD
.WriteTraceSource(4, description, payload);
215
&& (FxTrace.ShouldTraceInformationToTraceSource ||
TD
.IsEtwEventEnabled(5)));
226
if (
TD
.IsEtwEventEnabled(5))
228
TD
.WriteEtwEvent(5, eventTraceActivity, payload.AppDomainFriendlyName);
233
TD
.WriteTraceSource(5, description, payload);
244
&& (FxTrace.ShouldTraceInformationToTraceSource ||
TD
.IsEtwEventEnabled(6)));
256
if (
TD
.IsEtwEventEnabled(6))
258
TD
.WriteEtwEvent(6, eventTraceActivity, param0, payload.AppDomainFriendlyName);
263
TD
.WriteTraceSource(6, description, payload);
274
&& (FxTrace.ShouldTraceErrorToTraceSource ||
TD
.IsEtwEventEnabled(7)));
286
if (
TD
.IsEtwEventEnabled(7))
288
TD
.WriteEtwEvent(7, eventTraceActivity, param0, payload.AppDomainFriendlyName);
293
TD
.WriteTraceSource(7, description, payload);
304
&& (FxTrace.ShouldTraceWarningToTraceSource ||
TD
.IsEtwEventEnabled(8)));
317
if (
TD
.IsEtwEventEnabled(8))
319
TD
.WriteEtwEvent(8, eventTraceActivity, param0, param1, payload.AppDomainFriendlyName);
324
TD
.WriteTraceSource(8, description, payload);
335
&& (FxTrace.ShouldTraceWarningToTraceSource ||
TD
.IsEtwEventEnabled(9)));
347
if (
TD
.IsEtwEventEnabled(9))
349
TD
.WriteEtwEvent(9, eventTraceActivity, param0, payload.AppDomainFriendlyName);
354
TD
.WriteTraceSource(9, description, payload);
365
&& (FxTrace.ShouldTraceWarningToTraceSource ||
TD
.IsEtwEventEnabled(10)));
377
if (
TD
.IsEtwEventEnabled(10))
379
TD
.WriteEtwEvent(10, eventTraceActivity, param0, payload.AppDomainFriendlyName);
384
TD
.WriteTraceSource(10, description, payload);
395
&& (FxTrace.ShouldTraceErrorToTraceSource ||
TD
.IsEtwEventEnabled(11)));
406
if (
TD
.IsEtwEventEnabled(11))
408
TD
.WriteEtwEvent(11, null, payload.SerializedException, payload.AppDomainFriendlyName);
413
TD
.WriteTraceSource(11, description, payload);
424
&& (FxTrace.ShouldTraceErrorToTraceSource ||
TD
.IsEtwEventEnabled(12)));
435
if (
TD
.IsEtwEventEnabled(12))
437
TD
.WriteEtwEvent(12, null, payload.SerializedException, payload.AppDomainFriendlyName);
442
TD
.WriteTraceSource(12, description, payload);