Breyta

Deila með


PackWebRequest.GetResponse Method

Definition

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.

Applies to