コード例 #1
0
 private void OnMessageSent(CallbackArgs response)
 {
     Dispatcher.BeginInvoke((Action)(() => { trace.Add(response); }));
 }
コード例 #2
0
 protected void OnNotified(NotificationType notificationType, HttpWebResponse response, SendNotificationToMPNSCompleted callback)
 {
     CallbackArgs args = new CallbackArgs(notificationType, response);
     if (null != callback)
         callback(args);
 }