Share via


ActivityEventsCollection 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.  

Represents a collection of ActivityEvent objects.

Inheritance hierarchy

System.Object
  Microsoft.Office.Server.ActivityFeed.ActivityEventsCollection

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 ActivityEventsCollection _
    Implements IEnumerable(Of ActivityEvent), IEnumerable
'Usage
Dim instance As ActivityEventsCollection
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class ActivityEventsCollection : IEnumerable<ActivityEvent>, 
    IEnumerable

Remarks

This can be created only by the feed-generating methods (such as GetActivitiesByMe) in ActivityManager.

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

ActivityEventsCollection members

Microsoft.Office.Server.ActivityFeed namespace