Share via


ThrottledEventLogger.DeleteContext method

If transient contexts are used they can build up in memory. Use this function to release a context that can no longer exist.

Namespace:  Microsoft.SharePoint.Diagnostics
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub DeleteContext ( _
    context As Object _
)
'Usage
Dim instance As ThrottledEventLogger
Dim context As Object

instance.DeleteContext(context)
public void DeleteContext(
    Object context
)

Parameters

Remarks

Generally avoid using transient contexts if possible.

See also

Reference

ThrottledEventLogger class

ThrottledEventLogger members

Microsoft.SharePoint.Diagnostics namespace