EmailManagerForUser
EmailManagerForUser
EmailManagerForUser
EmailManagerForUser
Class
Definition
Represents a service that source apps can call to access email data for a specific user.
public : sealed class EmailManagerForUser : IEmailManagerForUserpublic sealed class EmailManagerForUser : IEmailManagerForUserPublic NotInheritable Class EmailManagerForUser Implements IEmailManagerForUser// 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
Call the EmailManager.GetForUser method to get an instance of this class.
Properties
Methods
RequestStoreAsync(EmailStoreAccessType) RequestStoreAsync(EmailStoreAccessType) RequestStoreAsync(EmailStoreAccessType) RequestStoreAsync(EmailStoreAccessType)
Asynchronously returns the EmailStore from the system.
public : IAsyncOperation<EmailStore> RequestStoreAsync(EmailStoreAccessType accessType)public IAsyncOperation<EmailStore> RequestStoreAsync(EmailStoreAccessType accessType)Public Function RequestStoreAsync(accessType As EmailStoreAccessType) As IAsyncOperation( Of EmailStore )// You can use this method in JavaScript.
Parameters
Specifies the access type, such as AllMailboxesLimitedReadWrite for all mailboxes or AppMailboxesReadWrite for the calling app's mailboxes.
Returns
ShowComposeNewEmailAsync(EmailMessage) ShowComposeNewEmailAsync(EmailMessage) ShowComposeNewEmailAsync(EmailMessage) ShowComposeNewEmailAsync(EmailMessage)
Launches the email application with a new message displayed.
public : IAsyncAction ShowComposeNewEmailAsync(EmailMessage message)public IAsyncAction ShowComposeNewEmailAsync(EmailMessage message)Public Function ShowComposeNewEmailAsync(message As EmailMessage) As IAsyncAction// You can use this method in JavaScript.
Parameters
The email message that is displayed when the email application is launched.
Returns
An asynchronous action used to indicate when the operation has completed.