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); }
public static extern int MQOpenQueue(string formatName, int access, int shareMode, ref QueueHandle hQueue);