ActivityFeedGatherer.CollectActivityEventsToConsolidate Method
Converts a dictionary consisting of owner record identifiers and ActivityEvent objects into a list of ActivityEvents that can be batch written to the database.
Namespace: Microsoft.Office.Server.ActivityFeed
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Shared Sub CollectActivityEventsToConsolidate ( _
eventsConsolidatedPerOwner As Dictionary(Of Long, List(Of ActivityEvent)), _
<OutAttribute> ByRef eventsConsolidated As List(Of ActivityEvent) _
)
'Usage
Dim eventsConsolidatedPerOwner As Dictionary(Of Long, List(Of ActivityEvent))
Dim eventsConsolidated As List(Of ActivityEvent)
ActivityFeedGatherer.CollectActivityEventsToConsolidate(eventsConsolidatedPerOwner, _
eventsConsolidated)
public static void CollectActivityEventsToConsolidate(
Dictionary<long, List<ActivityEvent>> eventsConsolidatedPerOwner,
out List<ActivityEvent> eventsConsolidated
)
Parameters
eventsConsolidatedPerOwner
Type: System.Collections.Generic.Dictionary<Int64, List<ActivityEvent>>A dictionary consisting of owner record identifiers and ActivityEvent objects.
eventsConsolidated
Type: System.Collections.Generic.List<ActivityEvent>A list of ActivityEvent objects. The output of this method.