ContactManager.RequestStoreAsync Method

Definition

Overloads

RequestStoreAsync(ContactStoreAccessType)

Retrieves a ContactStore object that enables searching or retrieving contacts on the device.

RequestStoreAsync()

Retrieves a ContactStore object that enables searching or retrieving contacts on the device.

RequestStoreAsync(ContactStoreAccessType)

Retrieves a ContactStore object that enables searching or retrieving contacts on the device.

public:
 static IAsyncOperation<ContactStore ^> ^ RequestStoreAsync(ContactStoreAccessType accessType);
/// [Windows.Foundation.Metadata.Overload("RequestStoreAsyncWithAccessType")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<ContactStore> RequestStoreAsync(ContactStoreAccessType const& accessType);
[Windows.Foundation.Metadata.Overload("RequestStoreAsyncWithAccessType")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<ContactStore> RequestStoreAsync(ContactStoreAccessType accessType);
function requestStoreAsync(accessType)
Public Shared Function RequestStoreAsync (accessType As ContactStoreAccessType) As IAsyncOperation(Of ContactStore)

Parameters

accessType
ContactStoreAccessType

Specifies the type of read/write access requested.

Returns

An asynchronous operation that returns a ContactStore object on successful completion.

Attributes

Windows requirements

App capabilities
contactsSystem

See also

Applies to

RequestStoreAsync()

Retrieves a ContactStore object that enables searching or retrieving contacts on the device.

public:
 static IAsyncOperation<ContactStore ^> ^ RequestStoreAsync();
/// [Windows.Foundation.Metadata.Overload("RequestStoreAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<ContactStore> RequestStoreAsync();
[Windows.Foundation.Metadata.Overload("RequestStoreAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<ContactStore> RequestStoreAsync();
function requestStoreAsync()
Public Shared Function RequestStoreAsync () As IAsyncOperation(Of ContactStore)

Returns

An asynchronous operation that returns a ContactStore object on successful completion.

Attributes

Windows requirements

App capabilities
contactsSystem

Remarks

This method requests AllContactsReadOnly access to the contact store. If you require a different level of access, call the RequestStoreAsync(ContactStoreAccessType) method instead.

See also

Applies to