コード例 #1
0
 public virtual void CloseQueue()
 {
     if (this.handle != null)
     {
         this.CloseQueue(this.handle);
         this.handle = null;
         this.isBoundToCompletionPort = false;
         this.isAsyncEnabled          = false;
         MsmqDiagnostics.QueueClosed(this.formatName);
     }
 }