AppServiceTriggerDetails AppServiceTriggerDetails AppServiceTriggerDetails AppServiceTriggerDetails AppServiceTriggerDetails Class

Definition

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 : IAppServiceTriggerDetails, IAppServiceTriggerDetails2
struct winrt::Windows::ApplicationModel::AppService::AppServiceTriggerDetails : IAppServiceTriggerDetails, IAppServiceTriggerDetails2
public sealed class AppServiceTriggerDetails : IAppServiceTriggerDetails, IAppServiceTriggerDetails2
Public NotInheritable Class AppServiceTriggerDetails Implements IAppServiceTriggerDetails, IAppServiceTriggerDetails2
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

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

Properties

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.

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.

Methods

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

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

See Also