ActivityManager constructor (UserProfile, SPServiceContext)

Creates an instance of the ActivityManager class from the specified SPServiceContext and for the specified user, which must be the current user.

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

Syntax

'Declaration
Public Sub New ( _
    userProfile As UserProfile, _
    serviceContext As SPServiceContext _
)
'Usage
Dim userProfile As UserProfile
Dim serviceContext As SPServiceContext

Dim instance As New ActivityManager(userProfile, _
    serviceContext)
public ActivityManager(
    UserProfile userProfile,
    SPServiceContext serviceContext
)

Parameters

See also

Reference

ActivityManager class

ActivityManager members

ActivityManager overload

Microsoft.Office.Server.ActivityFeed namespace