Click to Rate and Give Feedback
MSDN
MSDN Library
Windows PowerShell
Cmdlet Class
Cmdlet Methods
 Cmdlet.EndProcessing Method (System...

  Switch on low bandwidth view
Cmdlet.EndProcessing Method
Provides a one-time, post-processing functionality for the cmdlet.


Namespace: System.Management.Automation
Assembly: System.Management.Automation (in system.management.automation.dll)
Me.EndProcessing
Visual Basic
Protected Overridable Sub EndProcessing
C#
protected virtual void EndProcessing ()
C++
protected:
virtual void EndProcessing ()
J#
protected void EndProcessing ()
JScript
protected function EndProcessing ()
Exception typeCondition
Exception

The override of this method can throw any exception that is required.

This method must be overridden in any cmdlet that does post-processing. The runspace calls this method once for each instance of the cmdlet in the pipeline.

The override of this method does not have to be reentrant; this method does not have to be callable simultaneously with the ProcessRecord method or the BeginProcessing method. None of these input processing methods are called if any one of them is running for a cmdlet instance. However, there is no guarantee that all calls to these methods will occur on the same thread.

For more information about when the Windows PowerShell runtime calls this method, see Cmdlet Lifecycle.

For more information about cmdlets, see Windows PowerShell Cmdlets.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP, Windows 7, Windows 2008 R2

Target Platforms

Windows Server 2008, Windows Server 2003, Windows Vista, Windows XP, Windows 7, Windows 2008 R2
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker