18 references to DiagnosticStrings
System.ServiceModel.Primitives (18)
Internals\System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (12)
68
if (!WriteStartElement(xml,
DiagnosticStrings
.ExceptionTag, ref remainingLength))
77
new Tuple<string, string> (
DiagnosticStrings
.ExceptionTypeTag, XmlEncode(exception.GetType().AssemblyQualifiedName)),
78
new Tuple<string, string> (
DiagnosticStrings
.MessageTag, XmlEncode(exception.Message)),
79
new Tuple<string, string> (
DiagnosticStrings
.StackTraceTag, XmlEncode(StackTraceString(exception))), // Stack trace is sometimes null
80
new Tuple<string, string> (
DiagnosticStrings
.ExceptionStringTag, XmlEncode(exception.ToString())),
149
xml.WriteStartElement(
DiagnosticStrings
.DataItemsTag);
152
xml.WriteStartElement(
DiagnosticStrings
.DataTag);
153
xml.WriteElementString(
DiagnosticStrings
.KeyTag, XmlEncode(dataItem.ToString()));
156
xml.WriteElementString(
DiagnosticStrings
.ValueTag, string.Empty);
160
xml.WriteElementString(
DiagnosticStrings
.ValueTag, XmlEncode(exception.Data[dataItem].ToString()));
193
if (!WriteStartElement(xml,
DiagnosticStrings
.InnerExceptionTag, ref remainingLength))
307
writer.WriteStartElement(
DiagnosticStrings
.ExtendedDataTag);
System\ServiceModel\Diagnostics\ActivityIdHeader.cs (6)
41
int index = message.Headers.FindHeader(
DiagnosticStrings
.ActivityId,
DiagnosticStrings
.DiagnosticsNamespace);
77
int index = message.Headers.FindHeader(
DiagnosticStrings
.ActivityId,
DiagnosticStrings
.DiagnosticsNamespace);
109
int index = message.Headers.FindHeader(
DiagnosticStrings
.ActivityId,
DiagnosticStrings
.DiagnosticsNamespace);