共用方式為


ActivityApplication Class

Manages a collection of ActivityType objects.

Inheritance Hierarchy

System.Object
  Microsoft.Office.Server.ActivityFeed.ActivityApplication

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 ActivityApplication
'Usage
Dim instance As ActivityApplication
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class ActivityApplication

Remarks

Each custom activity gatherer must create an ActivityApplication object that contains the activity types that it manages. Each ActivityManager contains an ActivityApplications property that is an ActivityApplicationsCollection object. Add a new ActivityApplication by using the Create method of this ActivityApplicationsCollection object.

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

ActivityApplication Members

Microsoft.Office.Server.ActivityFeed Namespace