ActivityPreference Class
Defines the ActivityType objects whose events an entity does not want to see in a feed.
Inheritance Hierarchy
System.Object
Microsoft.Office.Server.ActivityFeed.ActivityPreference
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 ActivityPreference
'Usage
Dim instance As ActivityPreference
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class ActivityPreference
Remarks
By default, everyone sees all colleague activities unless explicitly excluded.
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.