Compartir a través de


InternalCommand Class

Definition

Defines members used by Cmdlets. All Cmdlets must derive from Cmdlet.

public ref class InternalCommand abstract
public abstract class InternalCommand
[System.Diagnostics.DebuggerDisplay("Command = {_commandInfo}")]
public abstract class InternalCommand
type InternalCommand = class
[<System.Diagnostics.DebuggerDisplay("Command = {_commandInfo}")>]
type InternalCommand = class
Public MustInherit Class InternalCommand
Inheritance
InternalCommand
Derived
Attributes

Remarks

Only use InternalCommand as a subclass of Cmdlet. Do not attempt to create instances of InternalCommand independently, or to derive other classes than Cmdlet from InternalCommand.

Properties

CommandOrigin

This property tells you if you were being invoked inside the runspace or if it was an external request.

Applies to

See also