Export (0) Print
Expand All

ApplicationContactCollection.AddContacts Method (String, String)

Adds contacts to the application contact list.

Script:  http://www.wlmessenger.net/api/3.7/loader.js
Feature:  Messenger.Core
Namespace:  Microsoft.Live.Messenger.Applications

instance.addContacts(contactData, signature);


Type: String
The contact XML document that specifies the application-specific relationships of the user.
Type: String
The signature that validates the integrity of the application contact list.

This method adds contacts to the user or application's application contact list.

The AddContactsCompleted event is raised when the asynchronous AddContacts(String, String) operation has completed. The event can be handled to perform custom processing logic after the contacts have been added.

ExceptioncontactData is null or empty.
Exceptionsignature is null or empty.

Windows Live Messenger Web Toolkit

Supported in: 3.7, 3.5, 3.1, 3.0

Internet Explorer 8.0, Internet Explorer 7.0, Internet Explorer 6.0, Firefox 3.5, Firefox 3.0, Firefox 2.0, Firefox 1.5, Chrome 3.0, Chrome 2.0, Chrome 1.0, Safari 4.0, Safari 3.0

© 2014 Microsoft