ActivityTemplateVariable class

This object, member, or enumeration is deprecated and is not intended to be used in your code. SharePoint 2013 includes the following APIs for working with feeds: .NET client, JavaScript, REST, and server. See Work with social feeds in SharePoint 2013 to choose the API for your specific feed-related programming tasks.

Defines formatting for ActivityEvent objects, the structure that contains the standard vocabulary for mapping activity events to syndication feeds.


Namespace:  Microsoft.Office.Server.ActivityFeed
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

public class ActivityTemplateVariable

This object is used by the feed-generating methods (such as GetActivityEventsByMe) in ActivityManager. It should contain data for all the tags in the templates for the ActivityType to which this ActivityEvent belongs. Otherwise, those tags will be ignored. Any data in the ActivityTemplateVariable that is not used by any template tag will also be ignored.

This object helps support the SyndicationFeed object model defined by the Syndication namespace. The Owner and Publisher properties of this class, which are Entity objects, match with SyndicationPerson. The Link property matches with SyndicationLink. The ActivityEvent object matches with SyndicationItem.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.