well you're not using the scheduler (at least that's how it seams), thus some small things change ! in this case, the particle functions doesn't have a PARTICLE as argument anymore, but an IntPtr !
thus the correct code should be :
Code:
class MyGraphic
    {
        private static void ParticleLine(IntPtr p)
        {

        }

        public static void DrawLine3DEx(Vector AFrom, Vector ATo, Color AColor, int AAlpha, int ASize)
        {
            PARTICLE.effect(ParticleLine, 1, AFrom, ATo);
        }


    }




get the C# wrapper:
for A7.85.4 and A8.30.4, Version 2.3.9
at http://acknexwrapper2.matthias-auer.net/ or visit the thread