PSSessionConfiguration.GetApplicationPrivateData(PSSenderInfo) Method

Definition

Derived classes can override this method to provide application private data that is going to be sent to the client and exposed via ApplicationPrivateData, GetApplicationPrivateData() and GetApplicationPrivateData()

public:
 virtual System::Management::Automation::PSPrimitiveDictionary ^ GetApplicationPrivateData(System::Management::Automation::Remoting::PSSenderInfo ^ senderInfo);
public virtual System.Management.Automation.PSPrimitiveDictionary GetApplicationPrivateData (System.Management.Automation.Remoting.PSSenderInfo senderInfo);
abstract member GetApplicationPrivateData : System.Management.Automation.Remoting.PSSenderInfo -> System.Management.Automation.PSPrimitiveDictionary
override this.GetApplicationPrivateData : System.Management.Automation.Remoting.PSSenderInfo -> System.Management.Automation.PSPrimitiveDictionary
Public Overridable Function GetApplicationPrivateData (senderInfo As PSSenderInfo) As PSPrimitiveDictionary

Parameters

senderInfo
PSSenderInfo

User Identity for which this information is requested

Returns

Application private data or null

Applies to