Data Account Manager. Request Store Async Method
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.
public: static IAsyncOperation<UserDataAccountStore ^> ^ RequestStoreAsync(UserDataAccountStoreAccessType storeAccessType);
/// [Windows.Foundation.Metadata.RemoteAsync] static IAsyncOperation<UserDataAccountStore> RequestStoreAsync(UserDataAccountStoreAccessType const& storeAccessType);
[Windows.Foundation.Metadata.RemoteAsync] public static IAsyncOperation<UserDataAccountStore> RequestStoreAsync(UserDataAccountStoreAccessType storeAccessType);
Public Shared Function RequestStoreAsync (storeAccessType As UserDataAccountStoreAccessType) As IAsyncOperation(Of UserDataAccountStore)
Specifies the access type, such as read-only for all accounts or read/write for the calling app's accounts.
Returns the UserDataAccountStore.
In order to gain access to the UserDataAccountStore, your app must declare at least one of the following capabilities:
- email If none of these capabilities are declared, RequestStoreAsync will throw an AccessDeniedException.
If RequestStoreAsync returns null it means that the user has turned off access in their privacy settings.
Submit and view feedback for