HttpWebResponseMessage Конструкторы
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
HttpWebResponseMessage(HttpWebResponse) |
Конструктор. |
HttpWebResponseMessage(IDictionary<String,String>, Int32, Func<Stream>) |
Конструктор. |
HttpWebResponseMessage(HttpWebResponse)
Конструктор.
public HttpWebResponseMessage (System.Net.HttpWebResponse httpResponse);
new Microsoft.OData.Client.HttpWebResponseMessage : System.Net.HttpWebResponse -> Microsoft.OData.Client.HttpWebResponseMessage
Public Sub New (httpResponse As HttpWebResponse)
Параметры
- httpResponse
- HttpWebResponse
Экземпляр HttpWebResponse.
Применяется к
HttpWebResponseMessage(IDictionary<String,String>, Int32, Func<Stream>)
Конструктор.
public HttpWebResponseMessage (System.Collections.Generic.IDictionary<string,string> headers, int statusCode, Func<System.IO.Stream> getResponseStream);
new Microsoft.OData.Client.HttpWebResponseMessage : System.Collections.Generic.IDictionary<string, string> * int * Func<System.IO.Stream> -> Microsoft.OData.Client.HttpWebResponseMessage
Public Sub New (headers As IDictionary(Of String, String), statusCode As Integer, getResponseStream As Func(Of Stream))
Параметры
- headers
- IDictionary<String,String>
Заголовки.
- statusCode
- Int32
Код состояния.