This topic has not yet been rated - Rate this topic

contactsActivities Field

Ff750932.note(en-us,MSDN.10).gifNote:
Current information about Live Connect is now available in the Windows Live Developer Center. The information in the following sections is provided for legacy purposes only.

Represents the Activity resource type for a subset of the activities created by a user's contacts.

Script:  http://js.live.net/4.1/loader.js
Feature:  Microsoft.Live
Namespace:  Microsoft.Live
 
// To retrieve:
var contactsActivities = Microsoft.Live.DataType.contactsActivities;

// To update:
Microsoft.Live.DataType.contactsActivities = contactsActivities;

contactsActivities are the activities from the user's contacts that were created by the current application, along with activities from the user's contacts that were created in a Windows Live application (such as Messenger) and are public according the contacts’ privacy settings. Activities created by other applications are not included in the contactsActivities resource type.

The following example demonstrates how to use the contactsActivities field.

    dataContext.loadAll(Microsoft.Live.DataType.contactsActivities, function(eventArgs) {
        if (eventArgs.get_resultCode() !== Microsoft.Live.AsyncResultCode.success) {
            alert("ContactsActivities not loaded.");
        }
    });

Windows Live Messenger Connect

Supported in: 4.1

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

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.