EmailDataProviderTriggerDetails.Connection Property
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.
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
|