AppServiceConnectionStatus 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 AppServiceConnectionStatus
enum class winrt::Windows::ApplicationModel::AppService::AppServiceConnectionStatus : int32_t
public enum AppServiceConnectionStatus
Public Enum AppServiceConnectionStatus
var value = Windows.ApplicationModel.AppService.AppServiceConnectionStatus.appNotInstalled;
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 AppNotInstalled 1

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 AppServiceUnavailable 3

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 AppUnavailable 2

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

NotAuthorized NotAuthorized NotAuthorized NotAuthorized NotAuthorized 7

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

RemoteSystemNotSupportedByApp RemoteSystemNotSupportedByApp RemoteSystemNotSupportedByApp RemoteSystemNotSupportedByApp RemoteSystemNotSupportedByApp 6

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 RemoteSystemUnavailable 5

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

Success Success Success Success Success 0

The connection to the app service was opened successfully.

Unknown Unknown Unknown Unknown Unknown 4

An unknown error occurred.

Remarks

Note

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

See Also