Share via


ContactList.GetContactFromRemoteIdAsync(String) Method

Definition

Asynchronously gets the Contact identified by the specified RemoteId.

public:
 virtual IAsyncOperation<Contact ^> ^ GetContactFromRemoteIdAsync(Platform::String ^ remoteId) = GetContactFromRemoteIdAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<Contact> GetContactFromRemoteIdAsync(winrt::hstring const& remoteId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<Contact> GetContactFromRemoteIdAsync(string remoteId);
function getContactFromRemoteIdAsync(remoteId)
Public Function GetContactFromRemoteIdAsync (remoteId As String) As IAsyncOperation(Of Contact)

Parameters

remoteId
String

Platform::String

winrt::hstring

An ID that can be used by a service provider to access the Contact in their remote system.

Returns

The Contact identified by the remoteId parameter.

Attributes

Windows requirements

App capabilities
contactsSystem

Applies to