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
|