Example #1
0
 public WorkItemUnsubscribeResponse Unsubscribe(WorkItemUnsubscribeRequest request)
 {
     try
     {
         WorkItemPublishSubscribeHelper.Unsubscribe(_callback);
         return(new WorkItemUnsubscribeResponse());
     }
     catch (Exception e)
     {
         var message          = "Failed to process WorkItem Unsubscribe request.";
         var exceptionMessage = String.Format("{0}\nDetail:{1}", message, e.Message);
         throw new WorkItemServiceException(exceptionMessage);
     }
 }
Example #2
0
 public WorkItemUnsubscribeResponse Unsubscribe(WorkItemUnsubscribeRequest request)
 {
     _isSubscribed = false;
     return(new WorkItemUnsubscribeResponse());
 }
Example #3
0
 public WorkItemUnsubscribeResponse Unsubscribe(WorkItemUnsubscribeRequest request)
 {
     return(Channel.Unsubscribe(request));
 }
 public WorkItemUnsubscribeResponse Unsubscribe(WorkItemUnsubscribeRequest request)
 {
     _isSubscribed = false;
     return new WorkItemUnsubscribeResponse();
 }