PackWebRequest.GetInnerRequest 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.
Gets the inner WebRequest.
public:
System::Net::WebRequest ^ GetInnerRequest();
public System.Net.WebRequest GetInnerRequest ();
member this.GetInnerRequest : unit -> System.Net.WebRequest
Public Function GetInnerRequest () As WebRequest
Returns
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.
Exceptions
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.
Remarks
The GetInnerRequest is provided for advanced scenarios only and is not needed for normal operation.