Runspace.GetApplicationPrivateData Method
Definition
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.
Private data to be used by applications built on top of PowerShell.
Local runspace is created with application private data set to an empty PSPrimitiveDictionary.
Remote runspace gets its application private data from the server (set when creating a remote runspace pool) Calling this method on a remote runspace will block until the data is received from the server. The server will send application private data before reaching Opened state.
Runspaces that are part of a RunspacePool inherit application private data from the pool.
public:
abstract System::Management::Automation::PSPrimitiveDictionary ^ GetApplicationPrivateData();
public abstract System.Management.Automation.PSPrimitiveDictionary GetApplicationPrivateData ();
abstract member GetApplicationPrivateData : unit -> System.Management.Automation.PSPrimitiveDictionary
Public MustOverride Function GetApplicationPrivateData () As PSPrimitiveDictionary