Udostępnij za pośrednictwem


PinnedContactManager.GetPinnedContactIdsAsync Method

Definition

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.

Applies to