PackWebRequest.GetRequestStream Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Do not use-GetRequestStream() is not supported by PackWebRequest.
public:
override System::IO::Stream ^ GetRequestStream();
public override System.IO.Stream GetRequestStream ();
override this.GetRequestStream : unit -> System.IO.Stream
Public Overrides Function GetRequestStream () As Stream
Returns
If GetRequestStream() is called, a NotSupportedException is thrown.
Exceptions
Occurs on any call to GetRequestStream(). The pack URI protocol does not support writing.
Remarks
GetRequestStream exists to implement the contract required by the abstract base class. The pack URI protocol does not support writing.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for