ContactStore.CreateMeContactAsync(String) ContactStore.CreateMeContactAsync(String) ContactStore.CreateMeContactAsync(String) ContactStore.CreateMeContactAsync(String) ContactStore.CreateMeContactAsync(String) Method

Definition

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

public : IAsyncOperation<StoredContact> CreateMeContactAsync(Platform::String id)
IAsyncOperation<StoredContact> CreateMeContactAsync(winrt::hstring id) const;
public IAsyncOperation<StoredContact> CreateMeContactAsync(String id)
Public Function CreateMeContactAsync(id As String) As IAsyncOperation(Of StoredContact)
Windows.Phone.PersonalInformation.ContactStore.createMeContactAsync(id).done( /* Your success and error handlers */ );
Parameters
id
String String String

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.

See Also