AppServiceDeferral
AppServiceDeferral
AppServiceDeferral
AppServiceDeferral
Class
Definition
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.
public : sealed class AppServiceDeferral : IAppServiceDeferralpublic sealed class AppServiceDeferral : IAppServiceDeferralPublic NotInheritable Class AppServiceDeferral Implements IAppServiceDeferral// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
Use AppServiceRequestReceivedEventArgs.GetDeferral to get this deferral.
Methods
Complete() Complete() Complete() Complete()
Indicates that the content for an asynchronous handler for the AppServiceConnection.RequestReceived event is ready, or that an error occurred.
public : void Complete()public void Complete()Public Function Complete() As void// You can use this method in JavaScript.