public static extern int MQLocateNext(LocatorHandle enumHandle, ref int propertyCount, [Out] MQPROPVARIANTS[] variantArray);
 public static extern int MQLocateNext(LocatorHandle enumHandle, ref int propertyCount, [Out] MQPROPVARIANTS[] variantArray);
 internal MessageQueueEnumerator(MessageQueueCriteria criteria, bool checkSecurity)
 {
     this.locatorHandle = System.Messaging.Interop.LocatorHandle.InvalidHandle;
     this.criteria      = criteria;
     this.checkSecurity = checkSecurity;
 }
예제 #4
0
 private static extern int IntMQLocateBegin(string context, Restrictions.MQRESTRICTION Restriction, Columns.MQCOLUMNSET columnSet, IntPtr sortSet, out LocatorHandle enumHandle);
예제 #5
0
        public static int MQLocateBegin(string context, Restrictions.MQRESTRICTION Restriction, Columns.MQCOLUMNSET columnSet, out LocatorHandle enumHandle)
        {
            int num;

            try
            {
                num = IntMQLocateBegin(context, Restriction, columnSet, IntPtr.Zero, out enumHandle);
            }
            catch (DllNotFoundException)
            {
                throw new InvalidOperationException(Res.GetString("MSMQNotInstalled"));
            }
            return(num);
        }
예제 #6
0
 public static int MQLocateBegin(string context, Restrictions.MQRESTRICTION Restriction, Columns.MQCOLUMNSET columnSet, out LocatorHandle enumHandle)
 {
     try
     {
         return IntMQLocateBegin(context, Restriction, columnSet, IntPtr.Zero, out enumHandle);
     }
     catch (DllNotFoundException)
     {
         throw new InvalidOperationException(Res.GetString(Res.MSMQNotInstalled));
     }
 }
예제 #7
0
 private static extern int IntMQLocateBegin(string context, Restrictions.MQRESTRICTION Restriction, Columns.MQCOLUMNSET columnSet, IntPtr sortSet, out LocatorHandle enumHandle);
 internal MessageQueueEnumerator(MessageQueueCriteria criteria, bool checkSecurity)
 {
     this.locatorHandle = System.Messaging.Interop.LocatorHandle.InvalidHandle;
     this.criteria = criteria;
     this.checkSecurity = checkSecurity;
 }