共用方式為


ProviderNetworkUsage 類別

定義

表示 ConnectionProfile所傳回的提供者網路使用量統計資料。GetProviderNetworkUsageAsync 方法。

public ref class ProviderNetworkUsage sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ProviderNetworkUsage final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ProviderNetworkUsage
Public NotInheritable Class ProviderNetworkUsage
繼承
Object Platform::Object IInspectable ProviderNetworkUsage
屬性

Windows 需求

裝置系列
Windows 10 Fall Creators Update (已於 10.0.16299.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v5.0 引進)

屬性

BytesReceived

取得值,指出連接在特定時段內收到的位元組數目。

BytesSent

取得值,指出連接在特定時段內傳送的位元組數目。

ProviderId

取得 ProviderId (MCC 和 MNC) 的組合。

適用於

另請參閱