PackWebRequest.GetResponse 方法

定义

返回请求的响应流。

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

返回

请求的响应流。

属性

注解

根据基类的签名, GetResponse 返回类型的 WebResponse值。 它实际上 PackWebResponse 特定于包 URI 协议响应的返回值。

Close 应用程序完成 WebResponse 流时,应调用该方法。

适用于