MultipartFormDataStreamProvider Constructor

 

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

Overload List

Name Description
System_CAPS_pubmethod MultipartFormDataStreamProvider(String)

Initializes a new instance of the MultipartFormDataStreamProvider class.

System_CAPS_pubmethod MultipartFormDataStreamProvider(String, Int32)

Initializes a new instance of the MultipartFormDataStreamProvider class.

See Also

MultipartFormDataStreamProvider Class
System.Net.Http Namespace

Return to top

MultipartFormDataStreamProvider Constructor (String)

Initializes a new instance of the MultipartFormDataStreamProvider class.

Syntax

public MultipartFormDataStreamProvider(
    string rootPath
)
public:
MultipartFormDataStreamProvider(
    String^ rootPath
)
new : 
        rootPath:string -> MultipartFormDataStreamProvider
Public Sub New (
    rootPath As String
)

Parameters

  • rootPath
    Type: System.String

    The root path where the content of MIME multipart body parts are written to.

Return to top

MultipartFormDataStreamProvider Constructor (String, Int32)

Initializes a new instance of the MultipartFormDataStreamProvider class.

Syntax

public MultipartFormDataStreamProvider(
    string rootPath,
    int bufferSize
)
public:
MultipartFormDataStreamProvider(
    String^ rootPath,
    int bufferSize
)
new : 
        rootPath:string *
        bufferSize:int -> MultipartFormDataStreamProvider
Public Sub New (
    rootPath As String,
    bufferSize As Integer
)

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.

Return to top