ContactManagerForUser.RequestStoreAsync(ContactStoreAccessType) Method
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.
Asynchronously returns the ContactStore from the system.
public:
virtual IAsyncOperation<ContactStore ^> ^ RequestStoreAsync(ContactStoreAccessType accessType) = RequestStoreAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ContactStore> RequestStoreAsync(ContactStoreAccessType const& accessType);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ContactStore> RequestStoreAsync(ContactStoreAccessType accessType);
function requestStoreAsync(accessType)
Public Function RequestStoreAsync (accessType As ContactStoreAccessType) As IAsyncOperation(Of ContactStore)
Parameters
- accessType
- ContactStoreAccessType
Specifies the access type, such as AllContactsReadOnly for all accounts or AppContactsReadWrite for the calling app's accounts.
Returns
Returns the ContactStore.
- Attributes
Windows requirements
App capabilities |
contactsSystem
|
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for