Share via


PackageUpdateAvailabilityResult Class

Definition

Describes whether the main app package listed in the .appinstaller file requires updates.

public ref class PackageUpdateAvailabilityResult sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PackageUpdateAvailabilityResult final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PackageUpdateAvailabilityResult
Public NotInheritable Class PackageUpdateAvailabilityResult
Inheritance
Object Platform::Object IInspectable PackageUpdateAvailabilityResult
Attributes

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Examples

For related code examples, see the Package.CheckUpdateAvailabilityAsync article.

Properties

Availability

Describes the type of package update that's available.

ExtendedError

If there is a problem checking for an update via Package.CheckUpdateAvailabilityAsync, this error can provide details.

Applies to

See also