PinnedContactManager.GetPinnedContactIdsAsync 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.
Gets the ID's of all contacts that are pinned to the taskbar or Start menu.
public:
virtual IAsyncOperation<PinnedContactIdsQueryResult ^> ^ GetPinnedContactIdsAsync() = GetPinnedContactIdsAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<PinnedContactIdsQueryResult> GetPinnedContactIdsAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<PinnedContactIdsQueryResult> GetPinnedContactIdsAsync();
function getPinnedContactIdsAsync()
Public Function GetPinnedContactIdsAsync () As IAsyncOperation(Of PinnedContactIdsQueryResult)
Returns
An asynchronous operation that returns a PinnedContactIdsQueryResult that you can use to get the ID's of all pinned contacts.
- Attributes
Windows requirements
App capabilities |
contactsSystem
|
Remarks
This method raises an AccessDeniedException if you have not enabled the contactPanel capability in your app manifest.
This method can be called from a background thread.