コード例 #1
0
 private static extern int IntMQLocateBegin(string context, Restrictions.MQRESTRICTION Restriction, Columns.MQCOLUMNSET columnSet, IntPtr sortSet, out LocatorHandle enumHandle);
コード例 #2
0
 public static int MQLocateBegin(string context, Restrictions.MQRESTRICTION Restriction, Columns.MQCOLUMNSET columnSet, NativeMethods.MQSORTSET sort, out IntPtr enumHandle)
 {
     try {
         return(IntMQLocateBegin(context, Restriction, columnSet, sort, out enumHandle));
     }
     catch (Exception) {
         throw new InvalidOperationException(Res.GetString(Res.MSMQNotInstalled));
     }
 }
コード例 #3
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);
        }
コード例 #4
0
 private static extern int IntMQLocateBegin(string context, Restrictions.MQRESTRICTION Restriction, Columns.MQCOLUMNSET columnSet, NativeMethods.MQSORTSET sort, out IntPtr enumHandle);