MultipartFileStreamProvider Class

Represents an IMultipartStreamProvider suited for writing each MIME body parts of the MIME multipart message to a file using a FileStream.

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

Public Class MultipartFileStreamProvider _
	Inherits MultipartStreamProvider
Dim instance As MultipartFileStreamProvider

The MultipartFileStreamProvider type exposes the following members.

Public methodMultipartFileStreamProvider(String)Initializes a new instance of the MultipartFileStreamProvider class.
Public methodMultipartFileStreamProvider(String, Int32)Initializes a new instance of the MultipartFileStreamProvider class.

Protected propertyBufferSizeGets or sets the number of bytes buffered for writes to the file.
Public propertyContentsGets or sets the contents for this MultipartStreamProvider. (Inherited from MultipartStreamProvider.)
Public propertyFileDataGets or sets the multipart file data.
Protected propertyRootPathGets or sets the root path where the content of MIME multipart body parts are written to.

Public methodEquals (Inherited from Object.)
Public methodExecutePostProcessingAsyncExecutes the post processing operation for this MultipartStreamProvider. (Inherited from MultipartStreamProvider.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetLocalFileNameGets the name of the local file which will be combined with the root path to create an absolute file name where the contents of the current MIME body part will be stored.
Public methodGetStreamGets the stream instance where the message body part is written to. (Overrides MultipartStreamProvider.GetStream(HttpContent, HttpContentHeaders).)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

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