예제 #1
0
 /// <summary>使用追踪服务</summary>
 public void UseTrace()
 {
     //_trace = new TraceService
     //{
     //    Queue = CommandQueue,
     //    Callback = (id, data) => ReportAsync(id, data).Wait(),
     //};
     //_trace.Init();
     _trace = new TraceService();
     _trace.Attach(CommandQueue);
 }