Freigeben über


MultipartStreamProvider Class

Represents a stream provider that examines the headers provided by the MIME multipart parser as part of the MIME multipart extension methods (see HttpContentMultipartExtensions) and decides what kind of stream to return for the body part to be written to.

Inheritance Hierarchy

System.Object
  System.Net.Http.MultipartStreamProvider
    System.Net.Http.MultipartFileStreamProvider
    System.Net.Http.MultipartMemoryStreamProvider
    System.Net.Http.MultipartRelatedStreamProvider

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

Syntax

'Declaration
Public MustInherit Class MultipartStreamProvider
'Usage
Dim instance As MultipartStreamProvider
public abstract class MultipartStreamProvider
public ref class MultipartStreamProvider abstract
[<AbstractClassAttribute>]
type MultipartStreamProvider =  class end
public abstract class MultipartStreamProvider

The MultipartStreamProvider type exposes the following members.

Constructors

  Name Description
Protected method MultipartStreamProvider Initializes a new instance of the MultipartStreamProvider class.

Top

Properties

  Name Description
Public property Contents Gets or sets the contents for this MultipartStreamProvider.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method ExecutePostProcessingAsync Executes the post processing operation for this MultipartStreamProvider.
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetStream Gets the stream where to write the body part to. This method is called when a MIME multipart body part has been parsed.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

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

Reference

System.Net.Http Namespace