ContactDataProviderTriggerDetails
ContactDataProviderTriggerDetails
ContactDataProviderTriggerDetails
ContactDataProviderTriggerDetails
Class
Definition
Contains details about the event that triggered your contact data provider background task.
This event is triggered when a contact data client app has instantiated the background task that runs your contact data provider. Your code should respond to this event by using the Connection property to register event handlers for contact provider request events.
public : sealed class ContactDataProviderTriggerDetails : IContactDataProviderTriggerDetailspublic sealed class ContactDataProviderTriggerDetails : IContactDataProviderTriggerDetailsPublic NotInheritable Class ContactDataProviderTriggerDetails Implements IContactDataProviderTriggerDetails// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v3)
|
Remarks
Your background task code is passed an instance of this class in the IBackgroundTaskInstance.TriggerDetails property.
Properties
Connection Connection Connection Connection
Gets the ContactDataProviderConnection object instance used to provide contact data to a client app.
This event is triggered when a contact data client app has instantiated the background task that runs your contact data provider. Your code should respond to this event my using the connection to register event handlers for data provider request events.
public : ContactDataProviderConnection Connection { get; }public ContactDataProviderConnection Connection { get; }Public ReadOnly Property Connection As ContactDataProviderConnection// You can use this property in JavaScript.
- Value
- ContactDataProviderConnection ContactDataProviderConnection ContactDataProviderConnection ContactDataProviderConnection
The ContactDataProviderConnection object your contact data provider uses to communicate with a client app.