共用方式為


SPUsageReceiver Class

Public base class for all objects that want to receive usage events from an installed usage definition.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPUsageReceiver

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public MustInherit Class SPUsageReceiver
'Usage
Dim instance As SPUsageReceiver
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public abstract class SPUsageReceiver

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

SPUsageReceiver Members

Microsoft.SharePoint.Administration Namespace