Share via


EmailManagerForUser.RequestStoreAsync(EmailStoreAccessType) Method

Definition

Asynchronously returns the EmailStore from the system.

public:
 virtual IAsyncOperation<EmailStore ^> ^ RequestStoreAsync(EmailStoreAccessType accessType) = RequestStoreAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<EmailStore> RequestStoreAsync(EmailStoreAccessType const& accessType);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<EmailStore> RequestStoreAsync(EmailStoreAccessType accessType);
function requestStoreAsync(accessType)
Public Function RequestStoreAsync (accessType As EmailStoreAccessType) As IAsyncOperation(Of EmailStore)

Parameters

accessType
EmailStoreAccessType

Specifies the access type, such as AllMailboxesLimitedReadWrite for all mailboxes or AppMailboxesReadWrite for the calling app's mailboxes.

Returns

Returns the EmailStore.

Attributes

Windows requirements

App capabilities
email emailSystem

Applies to