Share via


StoreContext.GetConsumableBalanceRemainingAsync(String) メソッド

定義

現在のアプリの指定したコンシューマブル アドオンの残りの残高を取得します。

public:
 virtual IAsyncOperation<StoreConsumableResult ^> ^ GetConsumableBalanceRemainingAsync(Platform::String ^ productStoreId) = GetConsumableBalanceRemainingAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<StoreConsumableResult> GetConsumableBalanceRemainingAsync(winrt::hstring const& productStoreId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<StoreConsumableResult> GetConsumableBalanceRemainingAsync(string productStoreId);
function getConsumableBalanceRemainingAsync(productStoreId)
Public Function GetConsumableBalanceRemainingAsync (productStoreId As String) As IAsyncOperation(Of StoreConsumableResult)

パラメーター

productStoreId
String

Platform::String

winrt::hstring

アドオンのストア ID (アドオンを表す StoreProductStoreId プロパティによって提供されます)。

戻り値

正常に完了すると、残りの残高やその他の情報を提供する StoreConsumableResult を 返す非同期操作。

属性

注釈

コード例など、このメソッドの使用方法の詳細については、「 コンシューマブル アドオン購入を有効にする」を参照してください。

適用対象

こちらもご覧ください