ActivityType Class

ActivityType Class

Defines the display of ActivityEvent objects that belong to this type.

System.Object
  Microsoft.Office.Server.ActivityFeed.ActivityType

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

[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class ActivityType

ActivityEvent objects contain data that offer flexibility in how they can be formatted and displayed by means of the ActivityTemplate objects stored in an ActivityType. The ActivityTypeNameLocStringResourceFile property of this class should contain the name of the resource file that contains the localized strings that you are using to display activity events in this type. The ActivityTypeNameLocStringName property should refer to the name of the entry in your resource file whose value defines how this type is displayed. For instructions on how to create a resource file, See Creating Resource Files. For a code sample that uses a resource file, see Microsoft SharePoint Server 2010: Activity Feeds Console Application.

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