22 references to DiagnosticStrings
System.Transactions (22)
System\Transactions\Trace\DiagnosticTrace.cs (22)
504message = String.Format(CultureInfo.CurrentCulture, "{0}: {1}\n{2}: {3}\n{4}", DiagnosticStrings.ProcessName, DiagnosticTrace.ProcessName, DiagnosticStrings.ProcessId, DiagnosticTrace.ProcessId, message); 656xml.WriteStartElement(DiagnosticStrings.TraceRecordTag); 657xml.WriteAttributeString(DiagnosticStrings.NamespaceTag, DiagnosticTrace.TraceRecordVersion); 658xml.WriteAttributeString(DiagnosticStrings.SeverityTag, DiagnosticTrace.LookupSeverity(type)); 660xml.WriteElementString(DiagnosticStrings.TraceCodeTag, code); 661xml.WriteElementString(DiagnosticStrings.DescriptionTag, description); 662xml.WriteElementString(DiagnosticStrings.AppDomain, DiagnosticTrace.AppDomainFriendlyName); 666xml.WriteElementString(DiagnosticStrings.SourceTag, DiagnosticTrace.CreateSourceString(source)); 671xml.WriteStartElement(DiagnosticStrings.ExtendedDataTag); 672xml.WriteAttributeString(DiagnosticStrings.NamespaceTag, trace.EventId); 681xml.WriteStartElement(DiagnosticStrings.ExceptionTag); 693xml.WriteElementString(DiagnosticStrings.ExceptionTypeTag, DiagnosticTrace.XmlEncode(exception.GetType().AssemblyQualifiedName)); 694xml.WriteElementString(DiagnosticStrings.MessageTag, DiagnosticTrace.XmlEncode(exception.Message)); 695xml.WriteElementString(DiagnosticStrings.StackTraceTag, DiagnosticTrace.XmlEncode(DiagnosticTrace.StackTraceString(exception))); 696xml.WriteElementString(DiagnosticStrings.ExceptionStringTag, DiagnosticTrace.XmlEncode(exception.ToString())); 700xml.WriteElementString(DiagnosticStrings.NativeErrorCodeTag, win32Exception.NativeErrorCode.ToString("X", CultureInfo.InvariantCulture)); 705xml.WriteStartElement(DiagnosticStrings.DataItemsTag); 708xml.WriteStartElement(DiagnosticStrings.DataTag); 713xml.WriteElementString(DiagnosticStrings.KeyTag, DiagnosticTrace.XmlEncode(dataItem.ToString())); 714xml.WriteElementString(DiagnosticStrings.ValueTag, DiagnosticTrace.XmlEncode(exception.Data[dataItem].ToString())); 722xml.WriteStartElement(DiagnosticStrings.InnerExceptionTag);