ContactBindingManager class

Provides methods for creating, saving, and deleting contact bindings.

Syntax

public sealed class ContactBindingManager : IDisposable
Public NotInheritable Class ContactBindingManager
    Implements IDisposable
public ref class ContactBindingManager sealed : IClosable

Members

The ContactBindingManager class has these types of members:

  • Methods

Methods

The ContactBindingManager class has these methods. It also inherits methods from the Object class.

Method Description
Close Releases all unmanaged resources associated with the ContactBindingManager.
CreateContactBinding Creates a contact binding with the specified RemoteId string.
CreateContactBindingTileAsync Creates a tile for the specified contact binding with the supplied context string.
CreateOrOpenMeContactBindingAsync Creates or opens a contact binding between the app and the current user of the device.
DeleteAllContactBindingsAsync Deletes all contact bindings associated with the app.
DeleteContactBindingAsync Deletes the specified contact binding.
GetContactBindingByRemoteIdAsync Retrieves the ContactBinding object that matches a specified RemoteId string.
GetContactBindingFromStoredContactAsync Retrieves the contact binding associated with the specified StoredContact.
GetContactBindingsAsync Retrieves a list of the contact bindings associated with the app.
SaveContactBindingAsync Saves the specified contact binding.

 

Remarks

Call the ContactBindings.GetAppContactBindingManagerAsync method to obtain an instance of this class.

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 apps only]

Namespace

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

Metadata

Windows.WinMD

Attributes

[MarshalingBehavior(Agile)]

[Threading(Both)]

[Version(0x06030000)]

See also

Object

IClosable

ContactBindings

Implementing contact bindings in a Windows Phone Silverlight app