Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MultipartFormDataRemoteStreamProvider::GetRemoteStream Method (HttpContent^, HttpContentHeaders^)

 

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

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

public:
virtual RemoteStreamInfo^ GetRemoteStream(
	HttpContent^ parent,
	HttpContentHeaders^ headers
) abstract

Parameters

parent
Type: System.Net.Http::HttpContent^

The parent HttpContent MIME multipart instance.

headers
Type: System.Net.Http.Headers::HttpContentHeaders^

The header fields describing the body part's content.

Return Value

Type: System.Net.Http::RemoteStreamInfo^

A result specifying a remote stream where the file will be written to and a location where the file can be accessed. It cannot be null and the stream must be writable.

Return to top
Show:
© 2017 Microsoft