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.

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

Inheritance Hierarchy

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

Syntax

public abstract class MultipartStreamProvider
public ref class MultipartStreamProvider abstract 
[<AbstractClass>]
type MultipartStreamProvider = class end
Public MustInherit Class MultipartStreamProvider

Constructors

Name Description
System_CAPS_protmethod MultipartStreamProvider()

Initializes a new instance of the MultipartStreamProvider class.

Properties

Name Description
System_CAPS_pubproperty Contents

Gets or sets the contents for this MultipartStreamProvider.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod ExecutePostProcessingAsync()

Executes the post processing operation for this MultipartStreamProvider.

System_CAPS_pubmethod ExecutePostProcessingAsync(CancellationToken)

Executes the post processing operation for this MultipartStreamProvider.

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetStream(HttpContent, HttpContentHeaders)

Gets the stream where to write the body part to. This method is called when a MIME multipart body part has been parsed.

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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