protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (_moveHandle != QueueHandle.Invalid)
         {
             _moveHandle.Dispose();
             _moveHandle = QueueHandle.Invalid;
         }
     }
     base.Dispose(disposing);
 }
		protected override void Dispose(bool disposing)
		{
			if(disposing)
			{
				if(_moveHandle != QueueHandle.Invalid)
				{
					_moveHandle.Dispose();
					_moveHandle = QueueHandle.Invalid;
				}
			}
			base.Dispose(disposing);
		}
Example #3
0
		public static extern int MQOpenQueue(string formatName, int access, int shareMode, ref QueueHandle hQueue);
Example #4
0
 public static extern int MQOpenQueue(string formatName, int access, int shareMode, ref QueueHandle hQueue);