Condividi tramite


ActivityTemplateVariable Class

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

Inheritance Hierarchy

System.Object
  Microsoft.Office.Server.ActivityFeed.ActivityTemplateVariable

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class ActivityTemplateVariable
'Usage
Dim instance As ActivityTemplateVariable
[SerializableAttribute]
public class ActivityTemplateVariable

Remarks

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.

Thread Safety

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

See Also

Reference

ActivityTemplateVariable Members

Microsoft.Office.Server.ActivityFeed Namespace