Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Cmdlet.BeginProcessing Method

Definition

Namespace:
System.Management.Automation
Assembly:
System.Management.Automation.dll
Package:
Microsoft.PowerShell.5.1.ReferenceAssemblies v1.0.0
Package:
System.Management.Automation v7.4.15
Package:
System.Management.Automation v7.5.6
Package:
System.Management.Automation v7.6.1

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

When overridden in the derived class, performs initialization of command execution. Default implementation in the base class just returns.

protected:
 virtual void BeginProcessing();
protected:
 virtual void BeginProcessing();
 virtual void BeginProcessing();
protected virtual void BeginProcessing();
abstract member BeginProcessing : unit -> unit
override this.BeginProcessing : unit -> unit
Protected Overridable Sub BeginProcessing ()

Exceptions

This method is overridden in the implementation of individual Cmdlets, and can throw literally any exception.

Applies to