public static Task SendSuccessDeliveryNotificationAsync(this 
     InstantMessagingFlow flow, InstantMessageId messageId)
 {
     return Task.Factory.FromAsync(flow.BeginSendSuccessDeliveryNotification,
         flow.EndSendSuccessDeliveryNotification, messageId,
         null);
 }
 public static Task SendFailureDeliveryNotificationAsync(this 
     InstantMessagingFlow flow, InstantMessageId messageId,
     int responseCode)
 {
     return Task.Factory.FromAsync(flow.BeginSendFailureDeliveryNotification,
         flow.EndSendFailureDeliveryNotification, messageId,
         responseCode, null);
 }
Example #3
0
 public static Task SendFailureDeliveryNotificationAsync(this
                                                         InstantMessagingFlow flow, InstantMessageId messageId,
                                                         int responseCode)
 {
     return(Task.Factory.FromAsync(flow.BeginSendFailureDeliveryNotification,
                                   flow.EndSendFailureDeliveryNotification, messageId,
                                   responseCode, null));
 }
Example #4
0
 public static Task SendSuccessDeliveryNotificationAsync(this
                                                         InstantMessagingFlow flow, InstantMessageId messageId)
 {
     return(Task.Factory.FromAsync(flow.BeginSendSuccessDeliveryNotification,
                                   flow.EndSendSuccessDeliveryNotification, messageId,
                                   null));
 }