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));
     }
 }
 private static extern int IntMQLocateBegin(string context, Restrictions.MQRESTRICTION Restriction, Columns.MQCOLUMNSET columnSet, NativeMethods.MQSORTSET sort, out IntPtr enumHandle);