AppServiceTriggerDetails AppServiceTriggerDetails AppServiceTriggerDetails AppServiceTriggerDetails AppServiceTriggerDetails Class


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.

public : sealed class AppServiceTriggerDetails
struct winrt::Windows::ApplicationModel::AppService::AppServiceTriggerDetails
public sealed class AppServiceTriggerDetails
Public NotInheritable Class AppServiceTriggerDetails
// This class does not provide a public constructor.

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


To get the AppServiceTriggerDetails for an app service, use the IBackgroundTaskInstance.TriggerDetails property.

Version history

Windows version SDK version Value added
1607 14393 IsRemoteSystemConnection
1709 16299 CheckCallerForCapabilityAsync
1903 18362 CallerRemoteConnectionToken


AppServiceConnection AppServiceConnection AppServiceConnection AppServiceConnection AppServiceConnection

Gets the connection to the endpoint of the other app service.

CallerPackageFamilyName CallerPackageFamilyName CallerPackageFamilyName CallerPackageFamilyName CallerPackageFamilyName

Gets the name of the package family for the client app that called the background task for the app service.

CallerRemoteConnectionToken CallerRemoteConnectionToken CallerRemoteConnectionToken CallerRemoteConnectionToken CallerRemoteConnectionToken

A string token which can be used to connect back to caller of a remote app service via RemoteSystemConnectionRequest.CreateFromConnectionToken.

IsRemoteSystemConnection IsRemoteSystemConnection IsRemoteSystemConnection IsRemoteSystemConnection IsRemoteSystemConnection

Gets whether the client app that called the background task for the app service is on another device.

Name Name Name Name Name

Gets the name of the app service.


CheckCallerForCapabilityAsync(String) CheckCallerForCapabilityAsync(String) CheckCallerForCapabilityAsync(String) CheckCallerForCapabilityAsync(String) CheckCallerForCapabilityAsync(String)

Determines whether the caller of the app service has the specified capability.

See also