SessionStateCommandEntry SessionStateCommandEntry SessionStateCommandEntry Class

Definition

Command class so that all the commands can derive off this one. Adds the flexibility of adding additional derived class, such as ProxyCommand for Exchange. Derived classes - Alias, Application, Cmdlet, Function, Script.

public abstract class SessionStateCommandEntry : System.Management.Automation.Runspaces.ConstrainedSessionStateEntry
type SessionStateCommandEntry = class
    inherit ConstrainedSessionStateEntry
Public MustInherit Class SessionStateCommandEntry
Inherits ConstrainedSessionStateEntry
Inheritance
Derived

Constructors

SessionStateCommandEntry(String) SessionStateCommandEntry(String) SessionStateCommandEntry(String)

Base constructor for all SessionState commands.

SessionStateCommandEntry(String, SessionStateEntryVisibility) SessionStateCommandEntry(String, SessionStateEntryVisibility) SessionStateCommandEntry(String, SessionStateEntryVisibility)

Properties

CommandType CommandType CommandType

Returns the type of the command using an enum instead of requiring a full reflection type check.

Module Module Module Inherited from InitialSessionStateEntry
Name Name Name Inherited from InitialSessionStateEntry
PSSnapIn PSSnapIn PSSnapIn Inherited from InitialSessionStateEntry
Visibility Visibility Visibility Inherited from ConstrainedSessionStateEntry

Methods

Clone() Clone() Clone() Inherited from InitialSessionStateEntry

Applies to