SPCmdlet.InternalProcessRecord method
Provides a means for users to add program functionality to the ProcessRecord() function.
Namespace: Microsoft.SharePoint.PowerShell
Assembly: Microsoft.SharePoint.PowerShell (in Microsoft.SharePoint.PowerShell.dll)
Syntax
'Declaration
Protected Overridable Sub InternalProcessRecord
'Usage
Me.InternalProcessRecord()
protected virtual void InternalProcessRecord()
Remarks
The ProcessRecord() method does not allow users to have access for the purpose of modifying or customizing the method's behavor. The InternalProcessRecord() method, however, executes inside of the ProcessRecord method, and in this way allows users to execute custom actions while the ProcessRecord method executes.
You must use the InternalDispose() method to provide clean-up code to dispose of any objects you created when using this method.