EmailDataProviderConnection Class

Definition

Represents a connection to a data provider client.

public ref class EmailDataProviderConnection 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 EmailDataProviderConnection 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 EmailDataProviderConnection
Public NotInheritable Class EmailDataProviderConnection
Inheritance
Object Platform::Object IInspectable EmailDataProviderConnection
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
email emailSystem

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()

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

Events

CreateFolderRequested

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

DeleteFolderRequested

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

DownloadAttachmentRequested

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

DownloadMessageRequested

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

EmptyFolderRequested

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

ForwardMeetingRequested

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

GetAutoReplySettingsRequested

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

MailboxSyncRequested

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

MoveFolderRequested

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

ProposeNewTimeForMeetingRequested

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

ResolveRecipientsRequested

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

ServerSearchReadBatchRequested

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

SetAutoReplySettingsRequested

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

UpdateMeetingResponseRequested

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

ValidateCertificatesRequested

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

Applies to