예제 #1
0
        internal DispatcherOperation BeginInvoke()
        {
            DispatchQueue.MainQueue.DispatchAsync(() =>
            {
                CoreInvoke(beginInvokeBehavior: true);
                if (exception != null)
                {
                    Dispatcher.OnUnhandledException(exception);
                }
            });

            return(this);
        }
        internal DispatcherOperation BeginInvoke()
        {
            NSRunLoop.Main.BeginInvokeOnMainThread(() =>
            {
                CoreInvoke(beginInvokeBehavior: true);
                if (exception != null)
                {
                    Dispatcher.OnUnhandledException(exception);
                }
            });

            return(this);
        }