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.

PackWebRequest::GetRequestStream Method ()

 

Do not use—GetRequestStream is not supported by PackWebRequest.

Namespace:   System.IO.Packaging
Assembly:  PresentationCore (in PresentationCore.dll)

public:
virtual Stream^ GetRequestStream() override

Return Value

Type: System.IO::Stream^

If GetRequestStream is called, a NotSupportedException is thrown.

Exception Condition
NotSupportedException

Occurs on any call to GetRequestStream. The pack URI protocol does not support writing.

GetRequestStream exists to implement the contract required by the abstract base class. The pack URI protocol does not support writing.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft