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