Share via


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)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public MustInherit Class SPUsageReceiver
'Usage
Dim instance As SPUsageReceiver
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, 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