Share via


LaunchFileStatus Enum

Definition

Specifies the result of activating an application for a file.

public enum class LaunchFileStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
enum class LaunchFileStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
public enum LaunchFileStatus
var value = Windows.System.LaunchFileStatus.success
Public Enum LaunchFileStatus
Inheritance
LaunchFileStatus
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Fields

Name Value Description
Success 0

The application activated successfully.

AppUnavailable 1

The application cannot be activated which may be because it is being updated by the store, it was installed on a removable device that is not available, and so on.

DeniedByPolicy 2

The application cannot be activated for this file because files may not cross user boundaries.

FileTypeNotSupported 3

The application you are trying to activate does not support this file type.

Unknown 4

An unknown error was encountered while activating the application.

Applies to