HttpResponseMessage.Source 属性

定义

获取 在 HttpResponseMessage 中收到的数据的源。

public:
 property HttpResponseMessageSource Source { HttpResponseMessageSource get(); void set(HttpResponseMessageSource value); };
HttpResponseMessageSource Source();

void Source(HttpResponseMessageSource value);
public HttpResponseMessageSource Source { get; set; }
var httpResponseMessageSource = httpResponseMessage.source;
httpResponseMessage.source = httpResponseMessageSource;
Public Property Source As HttpResponseMessageSource

属性值

在 HttpResponseMessage 中接收的数据源。

注解

Source 属性指示 在 HttpResponseMessage 中接收的数据是来自本地缓存还是通过网络接收。

适用于