Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
This topic has not yet been rated - Rate this topic

HttpContentMultipartExtensions Class

Extension methods to read MIME multipart entities from HttpContent instances.

System.Object
  System.Net.Http.HttpContentMultipartExtensions

Namespace:  System.Net.Http
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
public final class HttpContentMultipartExtensions
  NameDescription
Public methodStatic memberIsMimeMultipartContent(HttpContent)Determines whether the specified content is MIME multipart content.
Public methodStatic memberIsMimeMultipartContent(HttpContent, String)Determines whether the specified content is MIME multipart content with the specified subtype.
Public methodStatic memberReadAsMultipartAsync(HttpContent)Reads all body parts within a MIME multipart message and produces a set of HttpContent instances as a result.
Public methodStatic memberReadAsMultipartAsync(HttpContent, CancellationToken)Reads all body parts within a MIME multipart message and produces a set of HttpContent instances as a result.
Public methodStatic memberReadAsMultipartAsync(T)(HttpContent, T)Reads all body parts within a MIME multipart message and produces a set of HttpContent instances as a result using the streamProvider instance to determine where the contents of each body part is written.
Public methodStatic memberReadAsMultipartAsync(T)(HttpContent, T, Int32)Reads all body parts within a MIME multipart message and produces a set of HttpContent instances as a result using the streamProvider instance to determine where the contents of each body part is written and bufferSize as read buffer size.
Public methodStatic memberReadAsMultipartAsync(T)(HttpContent, T, CancellationToken)Reads all body parts within a MIME multipart message and produces a set of HttpContent instances as a result using the streamProvider instance to determine where the contents of each body part is written.
Public methodStatic memberReadAsMultipartAsync(T)(HttpContent, T, Int32, CancellationToken)Reads all body parts within a MIME multipart message and produces a set of HttpContent instances as a result using the streamProvider instance to determine where the contents of each body part is written and bufferSize as read buffer size.
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.