ContactBinding class

ContactBinding class

Represents a binding between a contact and an app.

Syntax


public sealed class ContactBinding : IDisposable

Members

The ContactBinding class has these types of members:

Methods

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

MethodDescription
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.

PropertyAccess typeDescription

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:

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

 

 

Show:
© 2017 Microsoft