Beispiel #1
0
 /// <summary>
 /// Cancel the execution of the transaction if required. If the
 /// transaction was being executed, the KMOD thread will be
 /// stopped.
 /// </summary>
 public void Cancel()
 {
     if (Status == KmodTransactionStatus.None ||
         Status == KmodTransactionStatus.Finished)
     {
         return;
     }
     Broker.CancelTransaction(this);
 }