StoreAcquireLicenseResult Klasse

Definition

Stellt Antwortdaten für eine Anforderung zum Abrufen der Lizenz für ein DLC-Add-On-Paket (Downloadable Content) für die aktuelle App bereit.

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
Vererbung
Object Platform::Object IInspectable StoreAcquireLicenseResult
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 Anniversary Edition (eingeführt in 10.0.14393.0)
API contract
Windows.Services.Store.StoreContract (eingeführt in v1.0)

Hinweise

Die StoreContext.AcquireStoreLicenseForOptionalPackageAsync-Methode gibt ein Objekt dieses Typs zurück.

Hinweis

DLC-Pakete (Downloadable Content) sind nicht für alle Entwicklerkonten verfügbar.

Eigenschaften

ExtendedError

Ruft den Fehlercode für die Anforderung ab, wenn beim Vorgang ein Fehler aufgetreten ist.

StorePackageLicense

Ruft ein -Objekt ab, das die Lizenz für ein DLC-Add-On-Paket (Downloadable Content) für die aktuelle App darstellt.

Gilt für:

Weitere Informationen