Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the HttpMessageWriterAbortedException class
 /// </summary>
 /// <param name="message"></param>
 public HttpMessageReaderAbortedException(HttpMessage message) : base(string.Format("The reader was aborted while receiving the message '{0}'.", message.ToString(false)))
 {
     _message = message;
 }
 /// <summary>
 /// Initializes a new instance of the HttpMessageWriterAbortedException class
 /// </summary>
 /// <param name="message"></param>
 public HttpMessageWriterAbortedException(HttpMessage message) : base(string.Format("The writer was aborted while sending the message '{0}'.", message.ToString(false)))
 {
     _message = message;
 }
		/// <summary>
		/// Initializes a new instance of the HttpMessageWriterAbortedException class
		/// </summary>
		/// <param name="message"></param>
		public HttpMessageReaderAbortedException(HttpMessage message) : base(string.Format("The reader was aborted while receiving the message '{0}'.", message.ToString(false)))
		{
			_message = message;
		}
		/// <summary>
		/// Initializes a new instance of the HttpMessageWriterAbortedException class
		/// </summary>
		/// <param name="message"></param>
		public HttpMessageWriterAbortedException(HttpMessage message) : base(string.Format("The writer was aborted while sending the message '{0}'.", message.ToString(false)))
		{
			_message = message;
		}