Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MultipartFileStreamProvider Class

MultipartFileStreamProvider Class

 

Represents an T:System.Net.Http.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 : MultipartStreamProvider

NameDescription
System_CAPS_pubmethodMultipartFileStreamProvider(String)

Initializes a new instance of the MultipartFileStreamProvider class.

System_CAPS_pubmethodMultipartFileStreamProvider(String, Int32)

Initializes a new instance of the MultipartFileStreamProvider class.

NameDescription
System_CAPS_protpropertyBufferSize

Gets or sets the number of bytes buffered for writes to the file.

System_CAPS_pubpropertyContents

Gets or sets the contents for this MultipartStreamProvider.(Inherited from MultipartStreamProvider.)

System_CAPS_pubpropertyFileData

Gets or sets the multipart file data.

System_CAPS_protpropertyRootPath

Gets or sets the root path where the content of MIME multipart body parts are written to.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodExecutePostProcessingAsync()

Executes the post processing operation for this MultipartStreamProvider.(Inherited from MultipartStreamProvider.)

System_CAPS_pubmethodExecutePostProcessingAsync(CancellationToken)

Executes the post processing operation for this MultipartStreamProvider.(Inherited from MultipartStreamProvider.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetLocalFileName(HttpContentHeaders)

Gets 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.

System_CAPS_pubmethodGetStream(HttpContent, HttpContentHeaders)

Gets the stream instance where the message body part is written to.(Overrides MultipartStreamProvider.GetStream(HttpContent, HttpContentHeaders).)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(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.

Return to top
Show:
© 2015 Microsoft