Export (0) Print
Expand All

PackWebRequest.GetInnerRequest Method

Gets the inner WebRequest.

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

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

Return Value

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.

Exception typeCondition

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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2015 Microsoft