Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SessionStateTypeEntry Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Defines the .NET Framework types for the initial session state configuration of a runspace. This entry, which is loaded when the runspace is opened, can reference strong session state type entry data, a types table, or a Types.ps1xml file. This class is introduced in Windows PowerShell 2.0.

Namespace:   System.Management.Automation.Runspaces
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

System.Object
  System.Management.Automation.Runspaces.InitialSessionStateEntry
    System.Management.Automation.Runspaces.SessionStateTypeEntry

Public NotInheritable Class SessionStateTypeEntry
	Inherits InitialSessionStateEntry

NameDescription
System_CAPS_pubmethodSessionStateTypeEntry(String)

Initializes a new instance of the SessionStateTypeEntry class that references a types.ps1xml file that is loaded when the runspace is opened. The types.ps1xml file defines the .NET Framework types used by the runspace. This constructor is introduced by Windows PowerShell 2.0.

System_CAPS_pubmethodSessionStateTypeEntry(TypeData, Boolean)

Initializes a new instance of the SessionStateTypeEntry class that references strong session state type entry data. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodSessionStateTypeEntry(TypeTable)

Initializes a new instance of the SessionStateTypeEntry class that references a type table that is loaded when the runspace is opened. The type table defines the .NET Framework types used by the runspace. This constructor is introduced by Windows PowerShell 2.0.

NameDescription
System_CAPS_pubpropertyFileName

Gets the name of the file where the .NET Framework type of this entry is declared. This property is introduced in Windows PowerShell 2.0.

System_CAPS_pubpropertyIsRemove

Gets or sets a value that indicates whether to remove the strong type data that contains the session state type entry information. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyModule

Gets information about the module defined by this session state entry. This property is introduced in Windows PowerShell 2.0.(Inherited from InitialSessionStateEntry.)

System_CAPS_pubpropertyName

Gets the name of the entry for the derived class. This property is introduced in Windows PowerShell 2.0.(Inherited from InitialSessionStateEntry.)

System_CAPS_pubpropertyPSSnapIn

Gets information about the snap-in defined by the session state entry. This property is introduced in Windows PowerShell 2.0.(Inherited from InitialSessionStateEntry.)

System_CAPS_pubpropertyTypeData

Gets the strong type data that contains the session state type entry information. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyTypeTable

Gets the name of the type table where the .NET Framework type of this entry is declared. This property is introduced in Windows PowerShell 2.0.

NameDescription
System_CAPS_pubmethodClone()

Creates an exact copy of the current SessionStateTypeEntry object. This method is introduced in Windows PowerShell 2.0.(Overrides InitialSessionStateEntry.Clone().)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

The type entry is added to the initial session state through the InitialSessionState.Types property.

This class cannot be inherited.

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

Return to top
Show: