Compartir a través de


Runspace.GetApplicationPrivateData Method

Definition

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

Returns

Applies to