示例#1
0
 int OutputVaList(
     IntPtr self,
     DEBUG_OUTPUT mask,
     string format,
     IntPtr va_list)
 {
     try
     {
         _context.Write(format);
     }
     catch (OperationCanceledException)
     {
         // ctrl-c interrupted the command
     }
     return(S_OK);
 }
示例#2
0
 internal int OutputVaList(
     IntPtr self,
     DEBUG_OUTPUT mask,
     string format,
     IntPtr va_list)
 {
     try
     {
         // The text has already been formated by sos
         SOSHostContext.Write(format);
     }
     catch (OperationCanceledException)
     {
         // ctrl-c interrupted the command
     }
     return(S_OK);
 }