MultipartContent::Add Method (HttpContent^)
.NET Framework (current version)
Add multipart HTTP content to a collection of HttpContent objects that get serialized using the multipart/* content type specification.
Assembly: System.Net.Http (in System.Net.Http.dll)
Parameters
- content
-
Type:
System.Net.Http::HttpContent^
The HTTP content to add to the collection.
| Exception | Condition |
|---|---|
| ArgumentNullException | The content was null. |
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: