ContactStore.CreateMeContactAsync(String) Method

Definition

Establishes that the specified contact represents the current signed-in user of the device.

public:
 virtual IAsyncOperation<StoredContact ^> ^ CreateMeContactAsync(Platform::String ^ id) = CreateMeContactAsync;
IAsyncOperation<StoredContact> CreateMeContactAsync(winrt::hstring const& id);
public IAsyncOperation<StoredContact> CreateMeContactAsync(string id);
function createMeContactAsync(id)
Public Function CreateMeContactAsync (id As String) As IAsyncOperation(Of StoredContact)

Parameters

id
String

Platform::String

winrt::hstring

The ID of the contact that represents the current signed-in user of the device.

Returns

An asynchronous operation that returns a StoredContact on successful completion. If you use Asynchronous programming, the result type is StoredContact.

Applies to

See also