HttpWebResponseMessage Constructor (IDictionary<String, String>, Int32, Func<Stream>)
Constructor.
Namespace: System.Data.Services.Client
Assembly: Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)
Syntax
'Declaration
Public Sub New ( _
headers As IDictionary(Of String, String), _
statusCode As Integer, _
getResponseStream As Func(Of Stream) _
)
'Usage
Dim headers As IDictionary(Of String, String)
Dim statusCode As Integer
Dim getResponseStream As Func(Of Stream)
Dim instance As New HttpWebResponseMessage(headers, _
statusCode, getResponseStream)
public HttpWebResponseMessage(
IDictionary<string, string> headers,
int statusCode,
Func<Stream> getResponseStream
)
public:
HttpWebResponseMessage(
IDictionary<String^, String^>^ headers,
int statusCode,
Func<Stream^>^ getResponseStream
)
new :
headers:IDictionary<string, string> *
statusCode:int *
getResponseStream:Func<Stream> -> HttpWebResponseMessage
public function HttpWebResponseMessage(
headers : IDictionary<String, String>,
statusCode : int,
getResponseStream : Func<Stream>
)
Parameters
- headers
Type: System.Collections.Generic.IDictionary<String, String>
The headers.
- statusCode
Type: System.Int32
The status code.
- getResponseStream
Type: System.Func<Stream>
A function returning the response stream.