SessionStateProviderBase
Class
Definition
This is the base class for all the providers that produce a view on session state data (Variables, Aliases, and Functions)
public abstract class SessionStateProviderBase : System.Management.Automation.Provider.ContainerCmdletProvider, System.Management.Automation.Provider.IContentCmdletProvider
- Inheritance
-
SessionStateProviderBase
- Derived
- Implements
Inherited Members
System.Management.Automation.Provider.CmdletProvider
System.Management.Automation.Provider.ContainerCmdletProvider
System.Management.Automation.Provider.DriveCmdletProvider
System.Management.Automation.Provider.ItemCmdletProvider
Constructors
| SessionStateProviderBase() |
Methods
| ClearContent(String) |
Always throws a NotSupportedException |
| ClearContentDynamicParameters(String) |
Always returns null |
| ClearItem(String) | |
| CopyItem(String, String, Boolean) |
Copies the specified item. |
| GetChildItems(String, Boolean) |
Gets the item(s) at the given path |
| GetChildNames(String, ReturnContainers) |
Gets the name(s) of the item(s) at the given path |
| GetContentReader(String) |
Gets an instance of the content reader for this provider for the specified path. |
| GetContentReaderDynamicParameters(String) |
Always returns null |
| GetContentWriter(String) |
Gets an instance of the content writer for this provider for the specified path. |
| GetContentWriterDynamicParameters(String) |
Always returns null |
| GetItem(String) |
Gets an item from session state. |
| HasChildItems(String) |
Determines if there are any items |
| IsValidPath(String) |
Determines if the specified path is syntactically and semantically valid. |
| ItemExists(String) |
Determines if the specified item exists |
| NewItem(String, String, Object) |
Creates a new item if one of the same name doesn't already exist. |
| RemoveItem(String, Boolean) |
Removes the item at the specified path. |
| RenameItem(String, String) |
Copies the specified item. |
| SetItem(String, Object) |
Sets a session state item to a given value |