view Demo/WebServices/Client/WebClient/WebOperationExceptionEventArgs.cs @ 1:8f65451dc28f

Исправлена проблема с фабрикой и выборкой нескольких объектов в linq выражении
author cin
date Fri, 28 Mar 2014 01:04:56 +0400
parents f990fcb411a9
children
line wrap: on
line source

using System;

namespace Demo.WebServices.Client.WebClient
{
	public class WebOperationExceptionEventArgs : WebOperationCancelledEventArgs
	{
		private readonly Exception _exception;
		public           Exception Exception
		{
			get { return _exception; }
		}

		private bool _retry;
		public  bool  Retry
		{
			get { return _retry;  }
			set { _retry = value; }
		}

		public WebOperationExceptionEventArgs(string url, string methodName, object[] parameters, Exception exception)
			: base(url, methodName, parameters)
		{
			_exception = exception;
		}
	}
}