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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.