Share via


HttpStreamContent(IInputStream) Constructor

Definition

Initializes a new instance of the HttpStreamContent class with the specified content.

public:
 HttpStreamContent(IInputStream ^ content);
 HttpStreamContent(IInputStream const& content);
public HttpStreamContent(IInputStream content);
function HttpStreamContent(content)
Public Sub New (content As IInputStream)

Parameters

content
IInputStream

The content used to initialize the HttpStreamContent.

Remarks

Below are the exceptions that this function throws.

E_INVALIDARG

The content parameter is null (Nothing in Visual Basic).

Applies to