ConnectionProfile.GetLocalUsage メソッド

定義

オーバーロード

GetLocalUsage(DateTime, DateTime)

Note

getLocalUsage は、Windows 8.1後にリリースで変更または使用できない場合があります。 代わりに、GetNetworkUsageAsync を使用します

特定の期間における接続の推定データ使用量を取得します。

GetLocalUsage(DateTime, DateTime, RoamingStates)

Note

getLocalUsage は、Windows 8.1後にリリースで変更または使用できない場合があります。 代わりに、GetNetworkUsageAsync を使用します

特定の期間およびローミング状態での接続の推定データ使用量を取得します。

GetLocalUsage(DateTime, DateTime)

Note

getLocalUsage は、Windows 8.1後にリリースで変更または使用できない場合があります。 代わりに、GetNetworkUsageAsync を使用します

特定の期間における接続の推定データ使用量を取得します。

public:
 virtual DataUsage ^ GetLocalUsage(DateTime StartTime, DateTime EndTime) = GetLocalUsage;
/// [Windows.Foundation.Metadata.Deprecated("GetLocalUsage may be altered or unavailable for releases after Windows 8.1. Instead, use GetNetworkUsageAsync.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.Overload("GetLocalUsage")]
DataUsage GetLocalUsage(DateTime const& StartTime, DateTime const& EndTime);
/// [Windows.Foundation.Metadata.Overload("GetLocalUsage")]
/// [Windows.Foundation.Metadata.Deprecated("GetLocalUsage may be altered or unavailable for releases after Windows 8.1. Instead, use GetNetworkUsageAsync.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
DataUsage GetLocalUsage(DateTime const& StartTime, DateTime const& EndTime);
[Windows.Foundation.Metadata.Deprecated("GetLocalUsage may be altered or unavailable for releases after Windows 8.1. Instead, use GetNetworkUsageAsync.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.Overload("GetLocalUsage")]
public DataUsage GetLocalUsage(System.DateTimeOffset StartTime, System.DateTimeOffset EndTime);
[Windows.Foundation.Metadata.Overload("GetLocalUsage")]
[Windows.Foundation.Metadata.Deprecated("GetLocalUsage may be altered or unavailable for releases after Windows 8.1. Instead, use GetNetworkUsageAsync.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
public DataUsage GetLocalUsage(System.DateTimeOffset StartTime, System.DateTimeOffset EndTime);
function getLocalUsage(StartTime, EndTime)
Public Function GetLocalUsage (StartTime As DateTimeOffset, EndTime As DateTimeOffset) As DataUsage

パラメーター

StartTime
DateTime DateTimeOffset

使用状況データ要求の開始日/時刻。

EndTime
DateTime DateTimeOffset

使用状況データ要求の終了日時。

戻り値

要求されたローカル データの使用状況情報。

属性

注釈

このメソッドの使用方法の例については、「 特定の期間の接続使用状況データを取得する方法」を参照してください。

こちらもご覧ください

適用対象

GetLocalUsage(DateTime, DateTime, RoamingStates)

Note

getLocalUsage は、Windows 8.1後にリリースで変更または使用できない場合があります。 代わりに、GetNetworkUsageAsync を使用します

特定の期間およびローミング状態での接続の推定データ使用量を取得します。

public:
 virtual DataUsage ^ GetLocalUsage(DateTime StartTime, DateTime EndTime, RoamingStates States) = GetLocalUsage;
/// [Windows.Foundation.Metadata.Deprecated("GetLocalUsage may be altered or unavailable for releases after Windows 8.1. Instead, use GetNetworkUsageAsync.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.Overload("GetLocalUsagePerRoamingStates")]
DataUsage GetLocalUsage(DateTime const& StartTime, DateTime const& EndTime, RoamingStates const& States);
/// [Windows.Foundation.Metadata.Overload("GetLocalUsagePerRoamingStates")]
/// [Windows.Foundation.Metadata.Deprecated("GetLocalUsage may be altered or unavailable for releases after Windows 8.1. Instead, use GetNetworkUsageAsync.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
DataUsage GetLocalUsage(DateTime const& StartTime, DateTime const& EndTime, RoamingStates const& States);
[Windows.Foundation.Metadata.Deprecated("GetLocalUsage may be altered or unavailable for releases after Windows 8.1. Instead, use GetNetworkUsageAsync.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.Overload("GetLocalUsagePerRoamingStates")]
public DataUsage GetLocalUsage(System.DateTimeOffset StartTime, System.DateTimeOffset EndTime, RoamingStates States);
[Windows.Foundation.Metadata.Overload("GetLocalUsagePerRoamingStates")]
[Windows.Foundation.Metadata.Deprecated("GetLocalUsage may be altered or unavailable for releases after Windows 8.1. Instead, use GetNetworkUsageAsync.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
public DataUsage GetLocalUsage(System.DateTimeOffset StartTime, System.DateTimeOffset EndTime, RoamingStates States);
function getLocalUsage(StartTime, EndTime, States)
Public Function GetLocalUsage (StartTime As DateTimeOffset, EndTime As DateTimeOffset, States As RoamingStates) As DataUsage

パラメーター

StartTime
DateTime DateTimeOffset

使用状況データ要求の開始日/時刻。

EndTime
DateTime DateTimeOffset

使用状況データ要求の終了日時。

States
RoamingStates

要求のスコープを設定するローミング状態。

戻り値

要求されたローカル データの使用状況情報。

属性

注釈

このメソッドの使用方法の例については、「 特定の期間の接続使用状況データを取得する方法」を参照してください。

こちらもご覧ください

適用対象