StreamContent Constructor (Stream, Int32)

Initializes a new instance of the StreamContent class.

Namespace:  System.Net.Http
Assembly:  System.Net.Http (in System.Net.Http.dll)

Syntax

'Declaration
Public Sub New ( _
    content As Stream, _
    bufferSize As Integer _
)
'Usage
Dim content As Stream 
Dim bufferSize As Integer 

Dim instance As New StreamContent(content, _
    bufferSize)
public StreamContent(
    Stream content,
    int bufferSize
)
public:
StreamContent(
    Stream^ content, 
    int bufferSize
)
new : 
        content:Stream * 
        bufferSize:int -> StreamContent
public function StreamContent(
    content : Stream, 
    bufferSize : int
)

Parameters

See Also

Reference

StreamContent Class

StreamContent Overload

System.Net.Http Namespace