Пример #1
0
        public void Exception()
        {
            var expected = new MessagingException(Guid.NewGuid().ToString());
            var args     = new TransientErrorArgs
            {
                Exception = expected,
            };

            Assert.AreEqual(expected, args.Exception);
        }
        public void Exception()
        {
            var expected = new MessagingException(Guid.NewGuid().ToString());
            var args = new TransientErrorArgs
            {
                Exception = expected,
            };

            Assert.AreEqual(expected, args.Exception);
        }
 private void Error(object obj, TransientErrorArgs args)
 {
     this.exception = args.Exception;
 }
Пример #4
0
 void h_TransientErrorOccured(object sender, TransientErrorArgs e)
 {
     this.exception = e.Exception;
 }
 void h_TransientErrorOccured(object sender, TransientErrorArgs e)
 {
     this.exception = e.Exception;
 }
Пример #6
0
 private void Error(object obj, TransientErrorArgs args)
 {
     this.exception = args.Exception;
 }