ContactManagerForUser.RequestStoreAsync(ContactStoreAccessType) Method

Definition

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