Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

MultipartFormDataRemoteStreamProvider Class

 

A MultipartStreamProvider implementation suited for use with HTML file uploads for writing file content to a remote storage Stream. The stream provider looks at the Content-Disposition header field and determines an output remote Stream based on the presence of a filename parameter. If a filename parameter is present in the Content-Disposition header field, then the body part is written to a remote Stream provided by GetRemoteStream. Otherwise it is written to a MemoryStream.

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

System.Object
  System.Net.Http.MultipartStreamProvider
    System.Net.Http.MultipartFormDataRemoteStreamProvider

public abstract class MultipartFormDataRemoteStreamProvider : MultipartStreamProvider

NameDescription
System_CAPS_protmethodMultipartFormDataRemoteStreamProvider()

Initializes a new instance of the MultipartFormDataRemoteStreamProvider class.

NameDescription
System_CAPS_pubpropertyContents

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

System_CAPS_pubpropertyFileData

Gets a collection of file data passed as part of the multipart form data.

System_CAPS_pubpropertyFormData

Gets a NameValueCollection of form data passed as part of the multipart form data.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodExecutePostProcessingAsync()

Read the non-file contents as form data.(Overrides MultipartStreamProvider.ExecutePostProcessingAsync().)

System_CAPS_pubmethodExecutePostProcessingAsync(CancellationToken)

Read the non-file contents as form data.(Overrides MultipartStreamProvider.ExecutePostProcessingAsync(CancellationToken).)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetRemoteStream(HttpContent, HttpContentHeaders)

Provides a RemoteStreamInfo for GetStream. Override this method to provide a remote stream to which the data should be written.

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