StoreSubscriptionInfo Class

Definition

Provides subscription info for a product SKU that represents a subscription with recurring billing.

public ref class StoreSubscriptionInfo 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 StoreSubscriptionInfo 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 StoreSubscriptionInfo
Public NotInheritable Class StoreSubscriptionInfo
Inheritance
Object Platform::Object IInspectable StoreSubscriptionInfo
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Services.Store.StoreContract (introduced in v1.0)

Remarks

The StoreSku.SubscriptionInfo property returns an object of this type.

Properties

BillingPeriod

Gets the duration of the billing period for a subscription, in the units specified by the BillingPeriodUnit property.

BillingPeriodUnit

Gets the units of the billing period for a subscription.

HasTrialPeriod

Gets a value that indicates whether the subscription contains a trial period.

TrialPeriod

Gets the duration of the trial period for the subscription, in the units specified by the TrialPeriodUnit property. To determine whether the subscription has a trial period, use the HasTrialPeriod property.

TrialPeriodUnit

Gets the units of the trial period for the subscription.

Applies to

See also