Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ContactStore.DeleteContactAsync method

Deletes the contact with the specified ID from the contact store.

Syntax


public IAsyncAction DeleteContactAsync(
  string id
)

Parameters

id

Type: System.String [.NET] | Platform::String [C++]

The ID of the contact to be deleted.

Return value

Type: IAsyncAction

An asynchronous action. If you use awaitable syntax, the result type is void.

Requirements (device family)

Device family

Mobile

API contract

Windows.Phone.PhoneContract, introduced version 1.0

Namespace

Windows.Phone.PersonalInformation
Windows::Phone::PersonalInformation [C++]

Metadata

Windows.Phone.PhoneContract.winmd

Capabilities

ID_CAP_CONTACTS [Windows Phone]

Requirements (operating system)

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Phone.PersonalInformation
Windows::Phone::PersonalInformation [C++]

Metadata

Windows.WinMD

Capabilities

ID_CAP_CONTACTS [Windows Phone]

See also

ContactStore
Asynchronous programming

 

 

Community Additions

Show:
© 2015 Microsoft