AppServiceConnectionStatus AppServiceConnectionStatus AppServiceConnectionStatus AppServiceConnectionStatus Enum

Definition

Describes the status for the attempt that an app makes to open a connection to an app service by calling the AppServiceConnection.OpenAsync method. App service providers enable app-to-app communication by providing services that other Universal Windows app can consume.

public : enum class AppServiceConnectionStatuspublic enum AppServiceConnectionStatusPublic Enum AppServiceConnectionStatus// You can use this enum in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

AppNotInstalled AppNotInstalled AppNotInstalled AppNotInstalled

The package for the app service to which a connection was attempted is not installed on the device. Check that the package is installed before trying to open a connection to the app service.

AppServiceUnavailable AppServiceUnavailable AppServiceUnavailable AppServiceUnavailable

The app with the specified package family name is installed and available, but the app does not declare support for the specified app service. Check that the name of the app service and the version of the app are correct.

AppUnavailable AppUnavailable AppUnavailable AppUnavailable

The package for the app service to which a connection was attempted is temporarily unavailable. Try to connect again later.

NotAuthorized NotAuthorized NotAuthorized NotAuthorized

The user for your app is not authorized to connect to the service.

RemoteSystemNotSupportedByApp RemoteSystemNotSupportedByApp RemoteSystemNotSupportedByApp RemoteSystemNotSupportedByApp

The app on the remote device does not support remote connections. It needs to specify SupportsRemoteSystems="true" on the appService extension in its AppXManifest to accept remote connections.

RemoteSystemUnavailable RemoteSystemUnavailable RemoteSystemUnavailable RemoteSystemUnavailable

The device to which a connection was attempted is not available.

Success Success Success Success

The connection to the app service was opened successfully.

Unknown Unknown Unknown Unknown

An unknown error occurred.

Remarks

Note

RemoteSystemUnavailable, RemoteSystemNotSupportedByApp, and NotAuthorized were introduced in Windows 10, version 1607