示例#1
0
        protected override void ExecuteCore(Message messageData)
        {
            ExceptionMessage exceptionMessage = messageData.Get <ExceptionMessage>();

            if (exceptionMessage.Is <HandledException>())
            {
                console.WriteLine("Recoverable Exception");
            }
            else
            {
                console.WriteLine("Unrecoverable Exception");
            }
        }