MultipartFormDataStreamProvider.GetStream Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

This body part stream provider examines the headers provided by the MIME multipart parser and decides whether it should return a file stream or a memory stream for the body part to be written to.

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


Public Function GetStream ( _
    headers As HttpContentHeaders _
) As Stream
public Stream GetStream(
    HttpContentHeaders headers
virtual Stream^ GetStream(
    HttpContentHeaders^ headers
) sealed
abstract GetStream : 
        headers:HttpContentHeaders -> Stream 
override GetStream : 
        headers:HttpContentHeaders -> Stream 
public final function GetStream(
    headers : HttpContentHeaders
) : Stream


Return Value

Type: System.IO.Stream
The Stream instance where the message body part is written to.



.NET Framework Security

See Also


MultipartFormDataStreamProvider Class

System.Net.Http Namespace