Example #1
0
 protected virtual void Dispose(bool disposing)
 {
     if (!disposed)
     {
         if (disposing)
         {
             // Clean up managed resources.
             subscriptionClient.Abort();
             namespaceManager.DeleteSubscription(CloudConstants.ResultsTopicName, schedulerInstanceGuid);
         }
     }
     disposed = true;
 }