예제 #1
0
 void client_OnMessageReport(object sender, ReportEventArgs e)
 {
     Console.WriteLine(e.MessageId);
     Console.WriteLine(e.StatusText);
 }
예제 #2
0
 void _OnMessageReport(object sender, ReportEventArgs e)
 {
     Console.WriteLine("Received message report, {0}, {1}.", e.MessageId, e.StatusText);
     lock (_msgIds)
         if (_msgIds.Contains(e.MessageId)) _msgIds.Remove(e.MessageId);
         else Console.WriteLine("Message id not found: {0}.", e.MessageId);
 }