Share via

MultipartStreamProvider.GetStream Method (HttpContent, HttpContentHeaders)


Gets the stream where to write the body part to. This method is called when a MIME multipart body part has been parsed.

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


public abstract Stream GetStream(
    HttpContent parent,
    HttpContentHeaders headers
virtual Stream^ GetStream(
    HttpContent^ parent,
    HttpContentHeaders^ headers
) abstract
abstract GetStream : 
        parent:HttpContent *
        headers:HttpContentHeaders -> Stream
Public MustOverride Function GetStream (
    parent As HttpContent,
    headers As HttpContentHeaders
) As Stream


Return Value

Type: System.IO.Stream

The Stream instance where the message body part is written to.

See Also

MultipartStreamProvider Class
System.Net.Http Namespace

Return to top