AMPSExcel.ActiveSub.vbaInvoke C# (CSharp) 메소드

vbaInvoke() 개인적인 메소드

private vbaInvoke ( System thing ) : void
thing System
리턴 void
        private void vbaInvoke(System.Action thing)
        {
            while (_running)
            {
                try
                {
                    thing.Invoke();
                    break;
                }
                catch (COMException)
                {
                    Thread.Yield();
                }
            }
        }