แก้ไข

แชร์ผ่าน


PackWebRequest.GetInnerRequest Method

Definition

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.

Applies to