new DefaultTraceListener() : DefaultTraceListener « System.Diagnostics « C# / C Sharp by API






new DefaultTraceListener()

  

using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;


public class MainClass
{
    public static void Main()
    {
        DefaultTraceListener dtl = new DefaultTraceListener();
        dtl.AssertUiEnabled = true;
        Trace.Listeners.Add(dtl);

    }
}

   
    
  








Related examples in the same category