ContactBinding class

Represents a binding between a contact and an app.

Syntax

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

Members

The ContactBinding class has these types of members:

  • Methods
  • Properties

Methods

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

Method Description
Close Releases system resources that are exposed by the ContactBinding object.
LoadConnectTileDataAsync Retrieves the ConnectTileData object representing the tile displayed for contact binding.

 

Properties

The ContactBinding class has these properties.

Property Access type Description

AppBindingAttributes

Read/write

Gets or sets a string that indicates properties of a contact binding.

EmailAddress1

Read/write

Gets or sets an email address used to match a contact for binding.

EmailAddress2

Read/write

Gets or sets an email address used to match a contact for binding.

EmailAddress3

Read/write

Gets or sets an email address used to match a contact for binding.

FirstName

Read/write

Gets or sets the first name used to match a contact for binding.

Identifier

Read/write

This property is not currently used.

LastName

Read/write

Gets or sets the last name used to match a contact for binding.

Name

Read/write

Gets or sets the name of the contact binding. This can be used to label the contact binding in UI.

PhoneNumber1

Read/write

Gets or sets a phone number used to match a contact for binding.

PhoneNumber2

Read/write

Gets or sets a phone number used to match a contact for binding.

PhoneNumber3

Read/write

Gets or sets a phone number used to match a contact for binding.

RemoteId

Read-only

Gets a string that uniquely identifies the contact binding on the app's web service.

TileData

Read/write

Gets or sets the ConnectTileData object associated with the contact binding.

 

Remarks

To get a ContactBinding object, call one of these methods:

  • CreateContactBinding
  • CreateOrOpenMeContactBindingAsync
  • GetContactBindingByRemoteIdAsync
  • GetContactBindingFromStoredContactAsync

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

ContactBindingManager

ContactBindings.GetAppContactBindingManagerAsync

Implementing contact bindings in a Windows Phone Silverlight app