Share via


ActivityType Class

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

Inheritance Hierarchy

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

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class ActivityType
'Usage
Dim instance As ActivityType
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class ActivityType

Remarks

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.

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

ActivityType Members

Microsoft.Office.Server.ActivityFeed Namespace