Edit

Kongsi melalui


PackWebRequest.GetRequestStream Method

Definition

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