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: