ContactDataProviderTriggerDetails Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 ref class ContactDataProviderTriggerDetails sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ContactDataProviderTriggerDetails final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ContactDataProviderTriggerDetails
Public NotInheritable Class ContactDataProviderTriggerDetails
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v3.0)
|
App capabilities |
contactsSystem
|
Remarks
Your background task code is passed an instance of this class in the IBackgroundTaskInstance.TriggerDetails property.
Properties
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. |