private void HandleActorTaskSchedulerMessage(ActorTaskSchedulerMessage m)
        {
            if (m.Exception != null)
            {
                HandleInvokeFailure(m.Exception);
                return;
            }

            m.ExecuteTask();
        }
Пример #2
0
        private void HandleActorTaskSchedulerMessage(ActorTaskSchedulerMessage m)
        {
            //set the current message captured in the async operation
            //current message was cleared earlier when the async receive handler completed
            CurrentMessage = m.Message;
            if (m.Exception != null)
            {
                HandleInvokeFailure(m.Exception);
                return;
            }

            m.ExecuteTask();
            CurrentMessage = null;
        }