Share via


ThrottledEventLogger members

This class throttles repeated writes of an Event under a particular context to the Windows event log. A specific duration (default 30 seconds) may be associated with an [event, context] pair. Contexts can be any object, but a best practice is to use objects that are not transient. If use of a transient context is unavoidable ensure that it is deleted before going out of scope.

The ThrottledEventLogger type exposes the following members.

Properties

  Name Description
Public propertyStatic member Instance Used for singleton access.

Top

Methods

  Name Description
Public method DeleteContext If transient contexts are used they can build up in memory. Use this function to release a context that can no longer exist.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See also

Reference

ThrottledEventLogger class

Microsoft.SharePoint.Diagnostics namespace