HttpGetStringResult.ResponseMessage 属性

定义

获取 HTTP 响应消息,包括标头、状态代码和数据。

public:
 property HttpResponseMessage ^ ResponseMessage { HttpResponseMessage ^ get(); };
HttpResponseMessage ResponseMessage();
public HttpResponseMessage ResponseMessage { get; }
var httpResponseMessage = httpGetStringResult.responseMessage;
Public ReadOnly Property ResponseMessage As HttpResponseMessage

属性值

HttpRequestMessage 生成的响应消息。

注解

响应消息包含从 HTTP 服务器发回的标头和内容。

适用于

另请参阅