ContactStore.CreateMeContactAsync(String) 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.
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.