PackWebRequest.GetRequestStream Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Do not use—GetRequestStream is not supported by PackWebRequest.

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

public override Stream GetRequestStream()

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: