Partager via


MultipartFormDataStreamProvider Constructor (String, Int32)

Initializes a new instance of the MultipartFormDataStreamProvider 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 MultipartFormDataStreamProvider(rootPath, _
    bufferSize)
public MultipartFormDataStreamProvider(
    string rootPath,
    int bufferSize
)
public:
MultipartFormDataStreamProvider(
    String^ rootPath, 
    int bufferSize
)
new : 
        rootPath:string * 
        bufferSize:int -> MultipartFormDataStreamProvider
public function MultipartFormDataStreamProvider(
    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

MultipartFormDataStreamProvider Class

MultipartFormDataStreamProvider Overload

System.Net.Http Namespace