PSObject Constructor (SerializationInfo, StreamingContext)

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Initializes a new instance of the PSObject class with serialization information. Introduced in Windows PowerShell 3.0.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

protected PSObject(
	SerializationInfo info,
	StreamingContext context
)

Parameters

info
Type: System.Runtime.Serialization.SerializationInfo

The serialization information.

context
Type: System.Runtime.Serialization.StreamingContext

The streaming context.

Return to top

Community Additions

ADD
Show: