Jaa


HttpMultipartFormDataContent Constructors

Definition

Overloads

HttpMultipartFormDataContent()

Initializes a new instance of the HttpMultipartFormDataContent class.

HttpMultipartFormDataContent(String)

Initializes a new instance of the HttpMultipartFormDataContent class with the specified boundary string.

HttpMultipartFormDataContent()

Initializes a new instance of the HttpMultipartFormDataContent class.

public:
 HttpMultipartFormDataContent();
 HttpMultipartFormDataContent();
public HttpMultipartFormDataContent();
function HttpMultipartFormDataContent()
Public Sub New ()

See also

Applies to

HttpMultipartFormDataContent(String)

Initializes a new instance of the HttpMultipartFormDataContent class with the specified boundary string.

public:
 HttpMultipartFormDataContent(Platform::String ^ boundary);
 HttpMultipartFormDataContent(winrt::hstring const& boundary);
public HttpMultipartFormDataContent(string boundary);
function HttpMultipartFormDataContent(boundary)
Public Sub New (boundary As String)

Parameters

boundary
String

Platform::String

winrt::hstring

The boundary string for the multipart content.

Remarks

Below are the exceptions that this function throws.

E_INVALIDARG

The boundary parameter is null (Nothing in Visual Basic) or contains only white space characters or the boundary ends with a space character.

The length of the boundary parameter is greater than 70.

Applies to