ActivityType 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 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