HttpContentMultipartExtensions Class

 

Extension methods to read MIME multipart entities from HttpContent instances.

Namespace:   System.Net.Http
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

Inheritance Hierarchy

System.Object
  System.Net.Http.HttpContentMultipartExtensions

Syntax

[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static class HttpContentMultipartExtensions
[ExtensionAttribute]
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
public ref class HttpContentMultipartExtensions abstract sealed 
[<AbstractClass>]
[<Sealed>]
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
type HttpContentMultipartExtensions = class end
<ExtensionAttribute>
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
Public NotInheritable Class HttpContentMultipartExtensions

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static IsMimeMultipartContent(HttpContent)

Determines whether the specified content is MIME multipart content.

System_CAPS_pubmethodSystem_CAPS_static IsMimeMultipartContent(HttpContent, String)

Determines whether the specified content is MIME multipart content with the specified subtype.

System_CAPS_pubmethodSystem_CAPS_static ReadAsMultipartAsync(HttpContent)

Reads all body parts within a MIME multipart message and produces a set of HttpContent instances as a result.

System_CAPS_pubmethodSystem_CAPS_static ReadAsMultipartAsync(HttpContent, CancellationToken)

Reads all body parts within a MIME multipart message and produces a set of HttpContent instances as a result.

System_CAPS_pubmethodSystem_CAPS_static ReadAsMultipartAsync<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.

System_CAPS_pubmethodSystem_CAPS_static ReadAsMultipartAsync<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.

System_CAPS_pubmethodSystem_CAPS_static ReadAsMultipartAsync<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.

System_CAPS_pubmethodSystem_CAPS_static ReadAsMultipartAsync<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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Net.Http Namespace

Return to top