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 | |
---|---|---|
IsMimeMultipartContent(HttpContent) | Determines whether the specified content is MIME multipart content. |
|
IsMimeMultipartContent(HttpContent, String) | Determines whether the specified content is MIME multipart content with the specified subtype. |
|
ReadAsMultipartAsync(HttpContent) | Reads all body parts within a MIME multipart message and produces a set of HttpContent instances as a result. |
|
ReadAsMultipartAsync(HttpContent, CancellationToken) | Reads all body parts within a MIME multipart message and produces a set of HttpContent instances as a result. |
|
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. |
|
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. |
|
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. |
|
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
Return to top