EmailDataProviderConnection EmailDataProviderConnection EmailDataProviderConnection EmailDataProviderConnection Class

Definition

Represents a connection to a data provider client.

public : sealed class EmailDataProviderConnection : IEmailDataProviderConnectionpublic sealed class EmailDataProviderConnection : IEmailDataProviderConnectionPublic NotInheritable Class EmailDataProviderConnection Implements IEmailDataProviderConnection// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Remarks

Use the instance of this class provided by the Connection property of the EmailDataProviderTriggerDetails object passed to your background task on activation.

Methods

Start() Start() Start() Start()

Call this method to indicate that all event handlers have been set, and the data provider is ready to start handling requests.

public : void Start()public void Start()Public Function Start() As void// You can use this method in JavaScript.

Events

CreateFolderRequested CreateFolderRequested CreateFolderRequested CreateFolderRequested

Occurs when the email client has requested that a folder be created on the server.

public : event TypedEventHandler CreateFolderRequested<EmailDataProviderConnection,  EmailMailboxCreateFolderRequestEventArgs>public event TypedEventHandler CreateFolderRequested<EmailDataProviderConnection,  EmailMailboxCreateFolderRequestEventArgs>Public Event CreateFolderRequested<EmailDataProviderConnection,  EmailMailboxCreateFolderRequestEventArgs>// You can use this event in JavaScript.

DeleteFolderRequested DeleteFolderRequested DeleteFolderRequested DeleteFolderRequested

Occurs when the email client has requested that a folder be deleted on the server.

public : event TypedEventHandler DeleteFolderRequested<EmailDataProviderConnection,  EmailMailboxDeleteFolderRequestEventArgs>public event TypedEventHandler DeleteFolderRequested<EmailDataProviderConnection,  EmailMailboxDeleteFolderRequestEventArgs>Public Event DeleteFolderRequested<EmailDataProviderConnection,  EmailMailboxDeleteFolderRequestEventArgs>// You can use this event in JavaScript.

DownloadAttachmentRequested DownloadAttachmentRequested DownloadAttachmentRequested DownloadAttachmentRequested

Occurs when the email client has requested to download an attachment from the server.

public : event TypedEventHandler DownloadAttachmentRequested<EmailDataProviderConnection,  EmailMailboxDownloadAttachmentRequestEventArgs>public event TypedEventHandler DownloadAttachmentRequested<EmailDataProviderConnection,  EmailMailboxDownloadAttachmentRequestEventArgs>Public Event DownloadAttachmentRequested<EmailDataProviderConnection,  EmailMailboxDownloadAttachmentRequestEventArgs>// You can use this event in JavaScript.

DownloadMessageRequested DownloadMessageRequested DownloadMessageRequested DownloadMessageRequested

Occurs when the email client has requested to download a message from the server.

public : event TypedEventHandler DownloadMessageRequested<EmailDataProviderConnection,  EmailMailboxDownloadMessageRequestEventArgs>public event TypedEventHandler DownloadMessageRequested<EmailDataProviderConnection,  EmailMailboxDownloadMessageRequestEventArgs>Public Event DownloadMessageRequested<EmailDataProviderConnection,  EmailMailboxDownloadMessageRequestEventArgs>// You can use this event in JavaScript.

EmptyFolderRequested EmptyFolderRequested EmptyFolderRequested EmptyFolderRequested

Occurs when the email client has requested that a folder be emptied the server.

public : event TypedEventHandler EmptyFolderRequested<EmailDataProviderConnection,  EmailMailboxEmptyFolderRequestEventArgs>public event TypedEventHandler EmptyFolderRequested<EmailDataProviderConnection,  EmailMailboxEmptyFolderRequestEventArgs>Public Event EmptyFolderRequested<EmailDataProviderConnection,  EmailMailboxEmptyFolderRequestEventArgs>// You can use this event in JavaScript.

ForwardMeetingRequested ForwardMeetingRequested ForwardMeetingRequested ForwardMeetingRequested

Occurs when the email client has requested to forward a meeting request.

public : event TypedEventHandler ForwardMeetingRequested<EmailDataProviderConnection,  EmailMailboxForwardMeetingRequestEventArgs>public event TypedEventHandler ForwardMeetingRequested<EmailDataProviderConnection,  EmailMailboxForwardMeetingRequestEventArgs>Public Event ForwardMeetingRequested<EmailDataProviderConnection,  EmailMailboxForwardMeetingRequestEventArgs>// You can use this event in JavaScript.

GetAutoReplySettingsRequested GetAutoReplySettingsRequested GetAutoReplySettingsRequested GetAutoReplySettingsRequested

Occurs when the email client has requested the auto reply settings.

public : event TypedEventHandler GetAutoReplySettingsRequested<EmailDataProviderConnection,  EmailMailboxGetAutoReplySettingsRequestEventArgs>public event TypedEventHandler GetAutoReplySettingsRequested<EmailDataProviderConnection,  EmailMailboxGetAutoReplySettingsRequestEventArgs>Public Event GetAutoReplySettingsRequested<EmailDataProviderConnection,  EmailMailboxGetAutoReplySettingsRequestEventArgs>// You can use this event in JavaScript.

MailboxSyncRequested MailboxSyncRequested MailboxSyncRequested MailboxSyncRequested

Occurs when the email client has requested to sync with the mailbox on the server.

public : event TypedEventHandler MailboxSyncRequested<EmailDataProviderConnection,  EmailMailboxSyncManagerSyncRequestEventArgs>public event TypedEventHandler MailboxSyncRequested<EmailDataProviderConnection,  EmailMailboxSyncManagerSyncRequestEventArgs>Public Event MailboxSyncRequested<EmailDataProviderConnection,  EmailMailboxSyncManagerSyncRequestEventArgs>// You can use this event in JavaScript.

MoveFolderRequested MoveFolderRequested MoveFolderRequested MoveFolderRequested

Occurs when the email client has requested that a folder be moved on the server.

public : event TypedEventHandler MoveFolderRequested<EmailDataProviderConnection,  EmailMailboxMoveFolderRequestEventArgs>public event TypedEventHandler MoveFolderRequested<EmailDataProviderConnection,  EmailMailboxMoveFolderRequestEventArgs>Public Event MoveFolderRequested<EmailDataProviderConnection,  EmailMailboxMoveFolderRequestEventArgs>// You can use this event in JavaScript.

ProposeNewTimeForMeetingRequested ProposeNewTimeForMeetingRequested ProposeNewTimeForMeetingRequested ProposeNewTimeForMeetingRequested

Occurs when the email client has requested that a new meeting time be proposed.

public : event TypedEventHandler ProposeNewTimeForMeetingRequested<EmailDataProviderConnection,  EmailMailboxProposeNewTimeForMeetingRequestEventArgs>public event TypedEventHandler ProposeNewTimeForMeetingRequested<EmailDataProviderConnection,  EmailMailboxProposeNewTimeForMeetingRequestEventArgs>Public Event ProposeNewTimeForMeetingRequested<EmailDataProviderConnection,  EmailMailboxProposeNewTimeForMeetingRequestEventArgs>// You can use this event in JavaScript.

ResolveRecipientsRequested ResolveRecipientsRequested ResolveRecipientsRequested ResolveRecipientsRequested

Occurs when the email client has requested that the recipients of a message be resolved.

public : event TypedEventHandler ResolveRecipientsRequested<EmailDataProviderConnection,  EmailMailboxResolveRecipientsRequestEventArgs>public event TypedEventHandler ResolveRecipientsRequested<EmailDataProviderConnection,  EmailMailboxResolveRecipientsRequestEventArgs>Public Event ResolveRecipientsRequested<EmailDataProviderConnection,  EmailMailboxResolveRecipientsRequestEventArgs>// You can use this event in JavaScript.

ServerSearchReadBatchRequested ServerSearchReadBatchRequested ServerSearchReadBatchRequested ServerSearchReadBatchRequested

Occurs when the email client has requested a batch of server-side search results.

public : event TypedEventHandler ServerSearchReadBatchRequested<EmailDataProviderConnection,  EmailMailboxServerSearchReadBatchRequestEventArgs>public event TypedEventHandler ServerSearchReadBatchRequested<EmailDataProviderConnection,  EmailMailboxServerSearchReadBatchRequestEventArgs>Public Event ServerSearchReadBatchRequested<EmailDataProviderConnection,  EmailMailboxServerSearchReadBatchRequestEventArgs>// You can use this event in JavaScript.

SetAutoReplySettingsRequested SetAutoReplySettingsRequested SetAutoReplySettingsRequested SetAutoReplySettingsRequested

Occurs when the email client has requested to set auto reply settings.

public : event TypedEventHandler SetAutoReplySettingsRequested<EmailDataProviderConnection,  EmailMailboxSetAutoReplySettingsRequestEventArgs>public event TypedEventHandler SetAutoReplySettingsRequested<EmailDataProviderConnection,  EmailMailboxSetAutoReplySettingsRequestEventArgs>Public Event SetAutoReplySettingsRequested<EmailDataProviderConnection,  EmailMailboxSetAutoReplySettingsRequestEventArgs>// You can use this event in JavaScript.

UpdateMeetingResponseRequested UpdateMeetingResponseRequested UpdateMeetingResponseRequested UpdateMeetingResponseRequested

Occurs when the email client has requested that a meeting response be updated.

public : event TypedEventHandler UpdateMeetingResponseRequested<EmailDataProviderConnection,  EmailMailboxUpdateMeetingResponseRequestEventArgs>public event TypedEventHandler UpdateMeetingResponseRequested<EmailDataProviderConnection,  EmailMailboxUpdateMeetingResponseRequestEventArgs>Public Event UpdateMeetingResponseRequested<EmailDataProviderConnection,  EmailMailboxUpdateMeetingResponseRequestEventArgs>// You can use this event in JavaScript.

ValidateCertificatesRequested ValidateCertificatesRequested ValidateCertificatesRequested ValidateCertificatesRequested

Occurs when the email client has requested that certificates be validated with respect to a particular mailbox.

public : event TypedEventHandler ValidateCertificatesRequested<EmailDataProviderConnection,  EmailMailboxValidateCertificatesRequestEventArgs>public event TypedEventHandler ValidateCertificatesRequested<EmailDataProviderConnection,  EmailMailboxValidateCertificatesRequestEventArgs>Public Event ValidateCertificatesRequested<EmailDataProviderConnection,  EmailMailboxValidateCertificatesRequestEventArgs>// You can use this event in JavaScript.