DiagnosticTraceSource.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

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

                            //------------------------------------------------------------------------------ 
// Copyright (c) Microsoft Corporation.  All rights reserved.
//-----------------------------------------------------------------------------
namespace System.ServiceModel.Diagnostics
{ 
    using System.Diagnostics;
 
    class DiagnosticTraceSource : PiiTraceSource 
    {
        const string PropagateActivityValue = "propagateActivity"; 
        internal DiagnosticTraceSource(string name, string eventSourceName)
            : base(name, eventSourceName)
        {
        } 

        internal DiagnosticTraceSource(string name, string eventSourceName, SourceLevels level) 
            : base(name, eventSourceName, level) 
        {
        } 

        protected override string[] GetSupportedAttributes()
        {
            string[] baseAttributes = base.GetSupportedAttributes(); 
            string [] supportedAttributes = new string[baseAttributes.Length + 1];
            for (int i=0; i

                        

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