Freigeben über


RunspacePool.GetApplicationPrivateData Method

Definition

Private data to be used by applications built on top of PowerShell.

Local runspace pool is created with application private data set to an empty PSPrimitiveDictionary.

Remote runspace pool gets its application private data from the server (when creating the remote runspace pool) Calling this method on a remote runspace pool 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:
 System::Management::Automation::PSPrimitiveDictionary ^ GetApplicationPrivateData();
public System.Management.Automation.PSPrimitiveDictionary GetApplicationPrivateData ();
member this.GetApplicationPrivateData : unit -> System.Management.Automation.PSPrimitiveDictionary
Public Function GetApplicationPrivateData () As PSPrimitiveDictionary

Returns

Applies to