Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
The WCM_CONNECTION_COST enumerated type determines the connection cost type and flags.
Syntax
typedef enum _WCM_CONNECTION_COST {
WCM_CONNECTION_COST_UNKNOWN = 0x0,
WCM_CONNECTION_COST_UNRESTRICTED = 0x1,
WCM_CONNECTION_COST_FIXED = 0x2,
WCM_CONNECTION_COST_VARIABLE = 0x4,
WCM_CONNECTION_COST_OVERDATALIMIT = 0x10000,
WCM_CONNECTION_COST_CONGESTED = 0x20000,
WCM_CONNECTION_COST_ROAMING = 0x40000,
WCM_CONNECTION_COST_APPROACHINGDATALIMIT = 0x80000
} WCM_CONNECTION_COST, *PWCM_CONNECTION_COST;
Constants
WCM_CONNECTION_COST_UNKNOWNValue: 0x0 Connection cost information is not available. |
WCM_CONNECTION_COST_UNRESTRICTEDValue: 0x1 The connection is unlimited and has unrestricted usage constraints. |
WCM_CONNECTION_COST_FIXEDValue: 0x2 Usage counts toward a fixed allotment of data which the user has already paid for (or agreed to pay for). |
WCM_CONNECTION_COST_VARIABLEValue: 0x4 The connection cost is on a per-byte basis. |
WCM_CONNECTION_COST_OVERDATALIMITValue: 0x10000 The connection has exceeded its data limit. |
WCM_CONNECTION_COST_CONGESTEDValue: 0x20000 The connection is throttled due to high traffic. |
WCM_CONNECTION_COST_ROAMINGValue: 0x40000 The connection is outside of the home network. Note The WCM_CONNECTION_COST_ROAMING value comes directly from the connection source. Attempts to set it directly will fail. |
WCM_CONNECTION_COST_APPROACHINGDATALIMITValue: 0x80000 The connection is approaching its data limit. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 [desktop apps only] |
| Minimum supported server | Windows Server 2012 [desktop apps only] |
| Header | wcmapi.h |