Share via


ContactManager.RequestAnnotationStoreAsync Method

Definition

Asynchronously requests access to the ContactAnnotationStore.

public:
 static IAsyncOperation<ContactAnnotationStore ^> ^ RequestAnnotationStoreAsync(ContactAnnotationStoreAccessType accessType);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<ContactAnnotationStore> RequestAnnotationStoreAsync(ContactAnnotationStoreAccessType const& accessType);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<ContactAnnotationStore> RequestAnnotationStoreAsync(ContactAnnotationStoreAccessType accessType);
function requestAnnotationStoreAsync(accessType)
Public Shared Function RequestAnnotationStoreAsync (accessType As ContactAnnotationStoreAccessType) As IAsyncOperation(Of ContactAnnotationStore)

Parameters

accessType
ContactAnnotationStoreAccessType

Specifies the type of access request, app contact annotations or all annotations.

Returns

The requested ContactAnnotationStore.

Attributes

Windows requirements

App capabilities
contactsSystem

Applies to