StoreAcquireLicenseResult クラス

定義

現在のアプリのダウンロード可能なコンテンツ (DLC) アドオン パッケージのライセンスを取得する要求の応答データを提供します。

public ref class StoreAcquireLicenseResult sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Services.Store.StoreContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class StoreAcquireLicenseResult final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Services.Store.StoreContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class StoreAcquireLicenseResult
Public NotInheritable Class StoreAcquireLicenseResult
継承
Object Platform::Object IInspectable StoreAcquireLicenseResult
属性

Windows の要件

デバイス ファミリ
Windows 10 Anniversary Edition (10.0.14393.0 で導入)
API contract
Windows.Services.Store.StoreContract (v1.0 で導入)

注釈

StoreContext.AcquireStoreLicenseForOptionalPackageAsync メソッドは、この型のオブジェクトを返します。

Note

ダウンロード可能なコンテンツ (DLC) パッケージは、すべての開発者アカウントで使用できるわけではありません。

プロパティ

ExtendedError

操作でエラーが発生した場合に、要求のエラー コードを取得します。

StorePackageLicense

現在のアプリのダウンロード可能なコンテンツ (DLC) アドオン パッケージのライセンスを表す オブジェクトを取得します。

適用対象

こちらもご覧ください