IMultipartStreamProvider.GetStream Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
When a MIME multipart body part has been parsed this method is called to get a stream for where to write the body part to.
Namespace: System.Net.Http
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
Syntax
'Declaration
Function GetStream ( _
headers As HttpContentHeaders _
) As Stream
Stream GetStream(
HttpContentHeaders headers
)
Stream^ GetStream(
HttpContentHeaders^ headers
)
abstract GetStream :
headers:HttpContentHeaders -> Stream
function GetStream(
headers : HttpContentHeaders
) : Stream
Parameters
- headers
Type: System.Net.Http.Headers.HttpContentHeaders
Header fields describing the body part.
Return Value
Type: System.IO.Stream
The Stream instance where the message body part is written to.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.