Поделиться через


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

Код состояния.

getResponseStream
Func<Stream>

Функция, возвращающая поток запроса.

Применяется к