Share via


ContactDataProviderTriggerDetails.Connection Property

Definition

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:
 property ContactDataProviderConnection ^ Connection { ContactDataProviderConnection ^ get(); };
ContactDataProviderConnection Connection();
public ContactDataProviderConnection Connection { get; }
var contactDataProviderConnection = contactDataProviderTriggerDetails.connection;
Public ReadOnly Property Connection As ContactDataProviderConnection

Property Value

The ContactDataProviderConnection object your contact data provider uses to communicate with a client app.

Windows requirements

App capabilities
contactsSystem

Applies to