PackWebRequest.GetResponse 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.
Returns the response stream for the request.
public:
override System::Net::WebResponse ^ GetResponse();
[System.Security.SecurityCritical]
public override System.Net.WebResponse GetResponse ();
public override System.Net.WebResponse GetResponse ();
[<System.Security.SecurityCritical>]
override this.GetResponse : unit -> System.Net.WebResponse
override this.GetResponse : unit -> System.Net.WebResponse
Public Overrides Function GetResponse () As WebResponse
Returns
The response stream for the request.
- Attributes
Remarks
Per the signature of the base class, GetResponse returns value of type WebResponse. The return value it is actually of type PackWebResponse specific to the response of the pack URI protocol.
The Close method should be called when the application is finished with the WebResponse stream.