MultipartFileStreamProvider Constructor (String, Int32)
Initializes a new instance of the MultipartFileStreamProvider class.
Namespace: System.Net.Http
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
Syntax
'Declaration
Public Sub New ( _
rootPath As String, _
bufferSize As Integer _
)
'Usage
Dim rootPath As String
Dim bufferSize As Integer
Dim instance As New MultipartFileStreamProvider(rootPath, _
bufferSize)
public MultipartFileStreamProvider(
string rootPath,
int bufferSize
)
public:
MultipartFileStreamProvider(
String^ rootPath,
int bufferSize
)
new :
rootPath:string *
bufferSize:int -> MultipartFileStreamProvider
public function MultipartFileStreamProvider(
rootPath : String,
bufferSize : int
)
Parameters
- rootPath
Type: System.String
The root path where the content of MIME multipart body parts are written to.
- bufferSize
Type: System.Int32
The number of bytes buffered for writes to the file.
See Also
Reference
MultipartFileStreamProvider Class