MultipartFormDataContent Class

Provides a container for content encoded using multipart/form-data MIME type.

System.Object
  System.Net.Http.HttpContent
    System.Net.Http.MultipartContent
      System.Net.Http.MultipartFormDataContent

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

public class MultipartFormDataContent extends MultipartContent

The MultipartFormDataContent type exposes the following members.

  NameDescription
Public methodMultipartFormDataContent()Initializes a new instance of the MultipartFormDataContent class.
Public methodMultipartFormDataContent(String)Initializes a new instance of the MultipartFormDataContent class.
Top

  NameDescription
Public propertyHeadersGets the HTTP content headers as defined in RFC 2616. (Inherited from HttpContent.)
Top

  NameDescription
Public methodAdd(HttpContent) (Overrides MultipartContent.Add(HttpContent).)
Public methodAdd(HttpContent, String)
Public methodAdd(HttpContent, String, String)
Public methodCopyToAsync(Stream)Write the HTTP content to a stream as an asynchronous operation. (Inherited from HttpContent.)
Public methodCopyToAsync(Stream, TransportContext)Write the HTTP content to a stream as an asynchronous operation. (Inherited from HttpContent.)
Protected methodCreateContentReadStreamAsync (Inherited from HttpContent.)
Public methodDispose()Releases the unmanaged resources and disposes of the managed resources used by the HttpContent. (Inherited from HttpContent.)
Protected methodDispose(Boolean) (Inherited from MultipartContent.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEnumerator (Inherited from MultipartContent.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodLoadIntoBufferAsync()Serialize the HTTP content to a memory buffer as an asynchronous operation. (Inherited from HttpContent.)
Public methodLoadIntoBufferAsync(Int64) (Inherited from HttpContent.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodReadAsByteArrayAsync (Inherited from HttpContent.)
Public methodReadAsStreamAsync (Inherited from HttpContent.)
Public methodReadAsStringAsync (Inherited from HttpContent.)
Protected methodSerializeToStreamAsync (Inherited from MultipartContent.)
Public methodToString (Inherited from Object.)
Protected methodTryComputeLength (Inherited from MultipartContent.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft