示例#1
0
 void TraceDispatchCompleted(bool success, ListenerSessionConnection session)
 {
     if (success)
     {
         if (TD.DispatchSessionSuccessIsEnabled())
         {
             TD.DispatchSessionSuccess(session.EventTraceActivity);
         }
     }
     else
     {
         if (TD.DispatchSessionFailedIsEnabled())
         {
             TD.DispatchSessionFailed(session.EventTraceActivity);
         }
     }
 }