MultipartContent Constructor (String^, String^)
.NET Framework (current version)
Creates a new instance of the MultipartContent class.
Assembly: System.Net.Http (in System.Net.Http.dll)
Parameters
- subtype
-
Type:
System::String^
The subtype of the multipart content.
- boundary
-
Type:
System::String^
The boundary string for the multipart content.
| Exception | Condition |
|---|---|
| ArgumentException | The subtype was null or an empty string. The boundary was null or contains only white space characters. -or- The boundary ends with a space character. |
| ArgumentOutOfRangeException | The length of the boundary was greater than 70. |
Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Show: