Share via


HttpWebResponseMessage Constructors

Definition

Overloads

HttpWebResponseMessage(HttpWebResponse)

Constructor.

HttpWebResponseMessage(IDictionary<String,String>, Int32, Func<Stream>)

Constructor.

HttpWebResponseMessage(HttpWebResponse)

Constructor.

public HttpWebResponseMessage (System.Net.HttpWebResponse httpResponse);
new Microsoft.OData.Client.HttpWebResponseMessage : System.Net.HttpWebResponse -> Microsoft.OData.Client.HttpWebResponseMessage
Public Sub New (httpResponse As HttpWebResponse)

Parameters

httpResponse
HttpWebResponse

HttpWebResponse instance.

Applies to

HttpWebResponseMessage(IDictionary<String,String>, Int32, Func<Stream>)

Constructor.

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))

Parameters

headers
IDictionary<String,String>

The headers.

statusCode
Int32

The status code.

getResponseStream
Func<Stream>

A function returning the response stream.

Applies to