Bagikan melalui


StoreAcquireLicenseResult Kelas

Definisi

Menyediakan data respons untuk permintaan guna memperoleh lisensi untuk paket add-on konten yang dapat diunduh (DLC) untuk aplikasi saat ini.

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
Warisan
Object Platform::Object IInspectable StoreAcquireLicenseResult
Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 10 Anniversary Edition (diperkenalkan dalam 10.0.14393.0)
API contract
Windows.Services.Store.StoreContract (diperkenalkan dalam v1.0)

Keterangan

Metode StoreContext.AcquireStoreLicenseForOptionalPackageAsync mengembalikan objek jenis ini.

Catatan

Paket konten yang dapat diunduh (DLC) tidak tersedia untuk semua akun pengembang.

Properti

ExtendedError

Mendapatkan kode kesalahan untuk permintaan tersebut, jika operasi mengalami kesalahan.

StorePackageLicense

Mendapatkan objek yang mewakili lisensi untuk paket add-on konten yang dapat diunduh (DLC) untuk aplikasi saat ini.

Berlaku untuk

Lihat juga