DiagnosticStrings.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WCF / SMDiagnostics / System / ServiceModel / Diagnostics / DiagnosticStrings.cs / 1305376 / DiagnosticStrings.cs

                            //------------------------------------------------------------ 
// Copyright (c) Microsoft Corporation.  All rights reserved.
//-----------------------------------------------------------

namespace System.ServiceModel.Diagnostics 
{
    static class DiagnosticStrings 
    { 
        internal const string DiagnosticsNamespace = "http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics";
 
        internal const string ActivityIdName = "E2ETrace.ActivityID";
        internal const string ActivityId = "ActivityId";
        internal const string AppDomain = "AppDomain";
        internal const string DataTag = "Data"; 
        internal const string DataItemsTag = "DataItems";
        internal const string DescriptionTag = "Description"; 
        internal const string EventLogTag = "EventLog"; 
        internal const string ExceptionTag = "Exception";
        internal const string ExceptionTypeTag = "ExceptionType"; 
        internal const string ExceptionStringTag = "ExceptionString";
        internal const string ExtendedDataTag = "ExtendedData";
        internal const string HeaderTag = "Header";
        internal const string InnerExceptionTag = "InnerException"; 
        internal const string KeyTag = "Key";
        internal const string MessageTag = "Message"; 
        internal const string NameTag = "Name"; 
        internal const string NamespaceTag = "xmlns";
        internal const string NativeErrorCodeTag = "NativeErrorCode"; 
        internal const string ProcessId = "ProcessId";
        internal const string ProcessName = "ProcessName";
        internal const string RoleTag = "Role";
        internal const string SeverityTag = "Severity"; 
        internal const string SourceTag = "Source";
        internal const string StackTraceTag = "StackTrace"; 
        internal const string TraceCodeTag = "TraceIdentifier"; 
        internal const string TraceRecordTag = "TraceRecord";
        internal const string ValueTag = "Value"; 

        internal static string[][] HeadersPaths = {
                new string[] { DiagnosticStrings.TraceRecordTag, DiagnosticStrings.ExtendedDataTag, "MessageHeaders", "Security" },
                new string[] { DiagnosticStrings.TraceRecordTag, DiagnosticStrings.ExtendedDataTag, "MessageHeaders", "IssuedTokens" } }; 
        internal static string[] PiiList = new string[] { "BinarySecret", "Entropy", "Password", "Nonce", "Username", "BinarySecurityToken", "NameIdentifier", "SubjectLocality", "AttributeValue" };
    } 
} 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK