Export (0) Print
Expand All

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)

[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static 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.
Show:
© 2014 Microsoft