Share via


EmailDataProviderTriggerDetails.Connection Property

Definition

Gets the EmailDataProviderConnection to be used to communicate with an email client app.

This event is triggered when an email data client app has instantiated the background task that runs your email data provider. Your code should respond to this event by using the connection to register an event handler for data provider request events.

public:
 property EmailDataProviderConnection ^ Connection { EmailDataProviderConnection ^ get(); };
EmailDataProviderConnection Connection();
public EmailDataProviderConnection Connection { get; }
var emailDataProviderConnection = emailDataProviderTriggerDetails.connection;
Public ReadOnly Property Connection As EmailDataProviderConnection

Property Value

The connection your email data provider uses to communicate with an email client app. When you handler is triggered, your code should register event handlers on this connection for the email data provider events included in the EmailDataProviderConnection class.

Windows requirements

App capabilities
email emailSystem

Applies to