Megosztás a következőn keresztül:


HttpResponseMessageSource Enum

Definition

Indicates the source of the data received in the HttpResponseMessage.

public enum class HttpResponseMessageSource
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class HttpResponseMessageSource
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum HttpResponseMessageSource
var value = Windows.Web.Http.HttpResponseMessageSource.none
Public Enum HttpResponseMessageSource
Inheritance
HttpResponseMessageSource
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
None 0

A default value that should not be returned under normal circumstances.

Cache 1

The data was from the local cache.

Network 2

The data was received over the network.

Applies to

See also