149 references to Trace
PresentationCore (1)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\StrokeSerializer.cs (1)
241
System.Diagnostics.
Trace
.WriteLine("Ignoring unhandled stroke tag in ISF stroke descriptor");
PresentationFramework (4)
src\Framework\MS\Internal\IO\Packaging\XamlFilter.cs (2)
116
Trace
.Listeners.Add(new EventLogTraceListener(xamlFilterEventLog));
127
System.Diagnostics.
Trace
.TraceInformation("New Xaml filter created.");
src\Framework\System\Windows\Documents\Speller.cs (2)
414
System.Diagnostics.
Trace
.Write(string.Format(CultureInfo.InvariantCulture, "Unloading dictionary failed. Original Uri:{0}, file Uri:{1}, exception:{2}", uri.ToString(), info.PathUri.ToString(), e.ToString()));
1715
System.Diagnostics.
Trace
.Write(string.Format(CultureInfo.InvariantCulture, "Failure to delete temporary file with custom dictionary data. file Uri:{0},exception:{1}", tempLocationUri.ToString(), e.ToString()));
System (46)
compmod\system\diagnostics\Trace.cs (20)
42
/// Gets or sets whether <see cref='System.Diagnostics.
Trace
.Flush'/> should be called on the <see cref='System.Diagnostics.
Trace
.Listeners'/> after every write.
102
/// be written to the <see cref='System.Diagnostics.
Trace
.Listeners'/>.</para>
110
/// <para>Clears the output buffer, and then closes the <see cref='System.Diagnostics.
Trace
.Listeners'/> so that they no
203
/// <para>Writes a message to the trace listeners in the <see cref='System.Diagnostics.
Trace
.Listeners'/>
213
/// parameter to the trace listeners in the <see cref='System.Diagnostics.
Trace
.Listeners'/> collection.</para>
222
/// in the <see cref='System.Diagnostics.
Trace
.Listeners'/> collection.</para>
231
/// in the <see cref='System.Diagnostics.
Trace
.Listeners'/> collection.</para>
240
/// trace listeners in the <see cref='System.Diagnostics.
Trace
.Listeners'/> collection.
249
/// <para>Writes the name of the <paramref name="value "/> parameter followed by a line terminator to the trace listeners in the <see cref='System.Diagnostics.
Trace
.Listeners'/> collection. The default line
259
/// listeners in the <see cref='System.Diagnostics.
Trace
.Listeners'/>
270
/// terminator to the trace listeners in the <see cref='System.Diagnostics.
Trace
.Listeners'/> collection. The default line
279
/// <para>Writes a message to the trace listeners in the <see cref='System.Diagnostics.
Trace
.Listeners'/> collection
289
/// parameter to the trace listeners in the <see cref='System.Diagnostics.
Trace
.Listeners'/> collection if a condition is
298
/// <para>Writes a category name and message to the trace listeners in the <see cref='System.Diagnostics.
Trace
.Listeners'/>
308
/// listeners in the <see cref='System.Diagnostics.
Trace
.Listeners'/> collection
318
/// <see cref='System.Diagnostics.
Trace
.Listeners'/> collection if a condition is
329
/// trace listeners in the <see cref='System.Diagnostics.
Trace
.Listeners'/> collection
341
/// listeners in the <see cref='System.Diagnostics.
Trace
.Listeners'/> collection if a condition is
351
/// terminator to the trace listeners in the <see cref='System.Diagnostics.
Trace
.Listeners'/> collection
compmod\system\diagnostics\TraceEventCache.cs (2)
26
get { return
Trace
.CorrelationManager.ActivityId; }
42
return
Trace
.CorrelationManager.LogicalOperationStack;
compmod\system\diagnostics\TraceSource.cs (18)
252
if (
Trace
.AutoFlush) listener.Flush();
262
if (
Trace
.AutoFlush) listener.Flush();
267
if (
Trace
.AutoFlush) listener.Flush();
288
if (
Trace
.AutoFlush) listener.Flush();
298
if (
Trace
.AutoFlush) listener.Flush();
303
if (
Trace
.AutoFlush) listener.Flush();
324
if (
Trace
.AutoFlush) listener.Flush();
334
if (
Trace
.AutoFlush) listener.Flush();
339
if (
Trace
.AutoFlush) listener.Flush();
360
if (
Trace
.AutoFlush) listener.Flush();
370
if (
Trace
.AutoFlush) listener.Flush();
375
if (
Trace
.AutoFlush) listener.Flush();
396
if (
Trace
.AutoFlush) listener.Flush();
406
if (
Trace
.AutoFlush) listener.Flush();
411
if (
Trace
.AutoFlush) listener.Flush();
444
if (
Trace
.AutoFlush) listener.Flush();
454
if (
Trace
.AutoFlush) listener.Flush();
459
if (
Trace
.AutoFlush) listener.Flush();
compmod\system\diagnostics\TraceSwitch.cs (2)
103
Trace
.WriteLine(SR.GetString(SR.TraceSwitchLevelTooLow, DisplayName));
107
Trace
.WriteLine(SR.GetString(SR.TraceSwitchLevelTooHigh, DisplayName));
services\monitoring\system\diagnosticts\DiagnosticsConfigurationHandler.cs (4)
222
Trace
.Listeners.Add(newListener);
233
Trace
.Listeners.Remove(name);
237
Trace
.Listeners.Remove(newListener);
241
Trace
.Listeners.Clear();
System.Activities (12)
System\Activities\Debugger\DebugManager.cs (5)
103
Trace
.WriteLine(SR.DebugInstrumentationFailed(ex.Message));
162
Trace
.WriteLine("Workflow", SR.DuplicateInstrumentation(activity2.DisplayName));
188
Trace
.WriteLine(
203
Trace
.WriteLine("Workflow", "Unmatched number of children\n");
308
Trace
.WriteLine(SR.DuplicateInstrumentation(activity.DisplayName));
System\Activities\Debugger\SourceLocationProvider.cs (3)
318
Trace
.WriteLine("WorkflowDebugger: Does not have corresponding Xaml node for: " + activity2.DisplayName + "\n");
336
Trace
.WriteLine(
350
Trace
.WriteLine("Unmatched number of children\n");
System\Activities\Debugger\State.cs (3)
194
Trace
.WriteLine(SR.DebugInstrumentationFailed(SR.InvalidFileName(this.name)));
203
Trace
.WriteLine(SR.DebugInstrumentationFailed(SR.LineNumberTooLarge(this.name)));
210
Trace
.WriteLine(SR.DebugInstrumentationFailed(SR.ColumnNumberTooLarge(this.name)));
System\Activities\Debugger\StateManager.cs (1)
512
Trace
.WriteLine(SR.DebugSymbolChecksumValueInvalid);
System.Activities.Presentation (14)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlHelper.cs (1)
384
Trace
.WriteLine(e.Message);
System.Activities.Presentation\System\Activities\Presentation\Converters\ArgumentToExpressionConverter.cs (1)
82
Trace
.WriteLine(err.ToString());
System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (2)
658
Trace
.WriteLine(e.Message);
681
Trace
.TraceError("OutOfMemoryException thrown from DataObject.");
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (2)
669
Trace
.WriteLine(exception.ToString());
706
Trace
.WriteLine(exception.ToString());
System.Activities.Presentation\System\Activities\Presentation\Model\FakeModelPropertyImpl.cs (1)
98
Trace
.WriteLine(e.ToString());
System.Activities.Presentation\System\Activities\Presentation\RetriableClipboard.cs (3)
31
Trace
.WriteLine(err.ToString());
53
Trace
.WriteLine(err.ToString());
74
Trace
.WriteLine(err.ToString());
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (4)
546
Trace
.WriteLine(ex.Message);
930
Trace
.WriteLine(string.Format(CultureInfo.CurrentUICulture, "{0}\r\n{1}", err.Message, err.StackTrace));
988
Trace
.WriteLine(string.Format(CultureInfo.CurrentUICulture, "{0}\r\n{1}", err.Message, err.StackTrace));
996
Trace
.WriteLine("ExpressionTextBox OwnerActivity is null.");
System.AddIn (2)
System\Addin\Hosting\AddInStore.cs (1)
558
Trace
.WriteLine(String.Format(System.Globalization.CultureInfo.CurrentCulture, Res.HostViewUnusableBecauseItIsGeneric, hostViewOfAddIn.Name));
System\Addin\Pipeline\ContractBase.cs (1)
236
Trace
.WriteLine(String.Format(System.Globalization.CultureInfo.CurrentCulture, Res.FailedToUnloadAppDomain, AppDomain.CurrentDomain.FriendlyName, ex.Message));
System.Core (4)
System\Diagnostics\Eventing\EventProvider.cs (2)
811
return
Trace
.CorrelationManager.ActivityId;
819
Trace
.CorrelationManager.ActivityId = id;
System\Diagnostics\Eventing\EventProviderTraceListener.cs (1)
404
object correlationId =
Trace
.CorrelationManager.ActivityId;
System\Diagnostics\EventSchemaTraceListener.cs (1)
316
_InternalBuildRaw(writer,
Trace
.CorrelationManager.ActivityId.ToString("B"));
System.Data (15)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlHelper.cs (1)
384
Trace
.WriteLine(e.Message);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\ArgumentToExpressionConverter.cs (1)
82
Trace
.WriteLine(err.ToString());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (2)
658
Trace
.WriteLine(e.Message);
681
Trace
.TraceError("OutOfMemoryException thrown from DataObject.");
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (2)
669
Trace
.WriteLine(exception.ToString());
706
Trace
.WriteLine(exception.ToString());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\FakeModelPropertyImpl.cs (1)
98
Trace
.WriteLine(e.ToString());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\RetriableClipboard.cs (3)
31
Trace
.WriteLine(err.ToString());
53
Trace
.WriteLine(err.ToString());
74
Trace
.WriteLine(err.ToString());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (4)
546
Trace
.WriteLine(ex.Message);
930
Trace
.WriteLine(string.Format(CultureInfo.CurrentUICulture, "{0}\r\n{1}", err.Message, err.StackTrace));
988
Trace
.WriteLine(string.Format(CultureInfo.CurrentUICulture, "{0}\r\n{1}", err.Message, err.StackTrace));
996
Trace
.WriteLine("ExpressionTextBox OwnerActivity is null.");
fx\src\bid\inc\cs\bidPrivateBase.cs (1)
700
System.Diagnostics.
Trace
.Assert(false);
System.Data.Entity (20)
System\Data\Common\Utils\Helpers.cs (3)
26
Trace
.WriteLine(String.Format(CultureInfo.InvariantCulture, format, args));
31
Trace
.Write(arg);
36
Trace
.WriteLine(arg);
System\Data\EntityModel\SchemaObjectModel\TypeUsageBuilder.cs (2)
199
System.Diagnostics.
Trace
.Assert(_element != null);
200
System.Diagnostics.
Trace
.Assert(scalar != null);
System\Data\Mapping\ViewGeneration\Validation\ForeignConstraint.cs (5)
143
Trace
.WriteLine(String.Empty);
144
Trace
.WriteLine(String.Empty);
145
Trace
.Write("Checking: ");
146
Trace
.WriteLine(this);
485
Trace
.WriteLine("Foreign key mapped to relationship " + cell.CQuery.Extent.Name);
System\Data\Mapping\ViewGeneration\Validator.cs (10)
84
Trace
.WriteLine(String.Empty);
85
Trace
.WriteLine("C-Level Basic Constraints");
86
Trace
.WriteLine(cConstraints);
87
Trace
.WriteLine("S-Level Basic Constraints");
88
Trace
.WriteLine(sConstraints);
101
Trace
.WriteLine(String.Empty);
102
Trace
.WriteLine("C-Level View Constraints");
103
Trace
.WriteLine(m_cViewConstraints);
104
Trace
.WriteLine("S-Level View Constraints");
105
Trace
.WriteLine(m_sViewConstraints);
System.ServiceModel (5)
System\ServiceModel\Channels\ServiceChannel.cs (1)
665
if (
Trace
.CorrelationManager.ActivityId == Guid.Empty)
System\ServiceModel\Diagnostics\EventTraceActivityHelper.cs (1)
91
Trace
.CorrelationManager.ActivityId = eventTraceActivity.ActivityId;
System\ServiceModel\Diagnostics\TraceAsyncResult.cs (2)
19
this.CallbackActivity = ServiceModelActivity.CreateLightWeightAsyncActivity(
Trace
.CorrelationManager.ActivityId);
47
Trace
.CorrelationManager.ActivityId = thisPtr.CallbackActivity.Id;
System\ServiceModel\Diagnostics\TraceUtility.cs (1)
1064
message.Properties[TraceUtility.E2EActivityId] =
Trace
.CorrelationManager.ActivityId;
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\InternalReceiveMessage.cs (1)
451
return
Trace
.CorrelationManager.ActivityId;
System\ServiceModel\Activities\InternalSendMessage.cs (1)
232
return
Trace
.CorrelationManager.ActivityId;
System.ServiceModel.Internals (9)
System\Runtime\ActionItem.cs (3)
310
previous =
Trace
.CorrelationManager.ActivityId;
312
Trace
.CorrelationManager.ActivityId = this.eventTraceActivity.ActivityId;
324
Trace
.CorrelationManager.ActivityId = previous;
System\Runtime\Diagnostics\DiagnosticTraceBase.cs (2)
516
object id =
Trace
.CorrelationManager.ActivityId;
525
Trace
.CorrelationManager.ActivityId = value;
System\Runtime\Diagnostics\EventTraceActivity.cs (4)
58
Guid guid =
Trace
.CorrelationManager.ActivityId;
66
Trace
.CorrelationManager.ActivityId = Guid.Empty;
77
return
Trace
.CorrelationManager.ActivityId;
90
Trace
.CorrelationManager.ActivityId = this.ActivityId;
System.Transactions (2)
System\Transactions\Trace\DiagnosticTrace.cs (2)
450
object id =
Trace
.CorrelationManager.ActivityId;
466
Trace
.CorrelationManager.ActivityId = id;
System.Web (3)
Management\WebEventTraceProvider.cs (2)
33
System.Diagnostics.
Trace
.TraceError(eventRaised.ToString());
36
System.Diagnostics.
Trace
.TraceInformation(eventRaised.ToString());
UI\TraceContext.cs (1)
319
System.Diagnostics.
Trace
.WriteLine(msg, category);
System.Workflow.Activities (2)
ActivityTrace.cs (1)
50
foreach (TraceListener listener in
Trace
.Listeners)
Rules\Design\Dialogs\IntellisenseTextBox.cs (1)
153
System.Diagnostics.
Trace
.WriteLine(string.Format(CultureInfo.CurrentCulture, "KeyCode:{0}, KeyData:{1}, KeyValue:{2}", e.KeyCode, e.KeyData, e.KeyValue));
System.Workflow.ComponentModel (2)
AuthoringOM\Trace.cs (2)
78
Trace
.Listeners.Add(fileLog);
87
foreach (TraceListener listener in
Trace
.Listeners)
System.Workflow.Runtime (5)
Hosting\DefaultWorkflowSchedulerService.cs (2)
207
Trace
.CorrelationManager.ActivityId = Guid.Empty;
286
Trace
.CorrelationManager.ActivityId = Guid.Empty;
WorkflowTraceTransfer.cs (3)
18
this.oldGuid =
Trace
.CorrelationManager.ActivityId;
27
Trace
.CorrelationManager.ActivityId = instanceId;
45
Trace
.CorrelationManager.ActivityId = oldGuid;
WindowsBase (1)
Base\System\Diagnostics\PresentationTraceSources.cs (1)
102
System.Diagnostics.
Trace
.Refresh();