HttpWebResponseMessage Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.