共用方式為


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 中收到的資料是來自本機快取,還是透過網路接收。

適用於