Compartilhar 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