protected void OperationCreatedHandler(object cimSession, OperationEventArgs actionArgs)
 {
     DebugHelper.WriteLogEx();
     lock (this.myLock)
     {
         CimAsyncOperation cimAsyncOperation = this;
         cimAsyncOperation.operationCount = cimAsyncOperation.operationCount + 1;
     }
 }
 protected void OperationDeletedHandler(object cimSession, OperationEventArgs actionArgs)
 {
     DebugHelper.WriteLogEx();
     lock (this.myLock)
     {
         CimAsyncOperation cimAsyncOperation = this;
         cimAsyncOperation.operationCount = cimAsyncOperation.operationCount - 1;
         if (this.operationCount == 0)
         {
             this.moreActionEvent.Set();
         }
     }
 }