ClearCanvas.Common.Rest.RestClientException.RestClientException C# (CSharp) Метод

RestClientException() приватный Метод

private RestClientException ( string url, string method, WebException e ) : System
url string
method string
e System.Net.WebException
Результат System
		internal RestClientException(string url, string method, WebException e)
			: base(e.Message, e)
		{
			this.Url = url;
			this.Method = method;
			this.RequestStatus = e.Status;
			if (e.Status == WebExceptionStatus.ProtocolError && e.Response != null)
			{
				var httpResponse = (HttpWebResponse)e.Response;
				this.HttpStatus = httpResponse.StatusCode;
				this.Response = new RestClient.Response(httpResponse);
			}
		}
RestClientException