コード例 #1
0
 // TODO: Bad to include the response in the exception, response could get disposed by a using
 public WebClientException(string message, Exception innerException, IWebResponseMessage response)
     : base(message, innerException)
 {
     Response = new FaultedResponse(response);
 }
コード例 #2
0
 public WebClientException(string message, Exception innerException, FaultedResponse response)
     : base(message, innerException)
 {
     Response = response;
 }