Dela via


Windows.ApplicationModel.AppService Namespace

Windows app services enable app-to-app communication by allowing your Universal Windows app to provide services to other Universal Windows app. App services let you create UI-less services that apps can call on the same device, and starting with Windows 10, version 1607, on remote devices.

Classes

AppServiceCatalog

Enumerate the available app service providers on the device. App service providers enable app-to-app communication by providing services that other Universal Windows app can consume.

AppServiceClosedEventArgs

Provides data for the AppServiceConnection.ServiceClosed event that occurs when the other endpoint closes connection to the app service. App services enable app-to-app communication by allowing you to provide services from your Universal Windows app to other Universal Windows app.

AppServiceConnection

Represents a connection to the endpoint for an app service. App services enable app-to-app communication by allowing you to provide services from your Universal Windows app to other Universal Windows app. The AppService provider receives the connection request as part of their background task; see AppServiceTriggerDetails class for details.

AppServiceDeferral

Enables the background task for an app service to get a deferral so that the app service can respond to subsequent requests. App service providers enable app-to-app communication by providing services that other Universal Windows app can consume.

AppServiceRequest

Represents a message that the endpoint for one app service sends to another app service. App services enable app-to-app communication by allowing you to provide services from your Universal Windows app to other Universal Windows app.

AppServiceRequestReceivedEventArgs

Provides data for the AppServiceConnection.RequestReceived event that occurs when a message arrives from the other endpoint of the app service connection. App services enable app-to-app communication by allowing you to provide services from your Universal Windows app to other Universal Windows app.

AppServiceResponse

Represents the message that the app service sent in response to a request. App services enable app-to-app communication by allowing you to provide services from your Universal Windows app to other Universal Windows app.

AppServiceTriggerDetails

Represents details associated with the background task for the app service. App services enable app-to-app communication by allowing you to provide services from your Universal Windows app to other Universal Windows app.

StatelessAppServiceResponse

The response to an SendStatelessMessageAsync call, containing the response message and connection status.

Enums

AppServiceClosedStatus

Describes the status that was set when the endpoint for the app service was closed. App service providers enable app-to-app communication by providing services that other Universal Windows app can consume.

AppServiceConnectionStatus

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.

AppServiceResponseStatus

Describes the status when an app tries to send a message to an app service by calling the AppServiceConnection.SendMessageAsync method. App service providers enable app-to-app communication by providing services that other Universal Windows app can consume.

StatelessAppServiceResponseStatus

Indicates success or failure of a SendStatelessMessageAsync operation.

See also