Export (0) Print
Expand All

PackWebRequest.GetInnerRequest Method

Gets the inner WebRequest.

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

public WebRequest GetInnerRequest()
You cannot use methods in XAML.

Return Value

Type: System.Net.WebRequest
A WebRequest created from the inner-URI if the request resolves to a valid transport protocol such http or ftp; or a WebRequest created with a null-URI if the request resolves from the PackageStore cache.

ExceptionCondition
NotSupportedException

The inner URI does not resolve to a valid transport protocol such as http for ftp, nor can the request be resolved from the PackageStore.

The GetInnerRequest is provided for advanced scenarios only and is not needed for normal operation.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0

Community Additions

ADD
Show:
© 2015 Microsoft