2.2.2.9 RUNSPACEPOOL_STATE Message
The Data field of a PSRP message specifies a RUNSPACEPOOL_STATE message when the MessageType field has a value of 0x00021005.
In messages of this type, the Data field is UTF-8 encoded XML, equivalent to the XML created by serializing a Complex Object (section 2.2.5.2) with the following extended properties (see section 2.2.5.2.9):
RunspacePool state information
Property name: RunspaceState.
Property type: RunspacePoolState (see section 2.2.3.4).
Optional error information (included only if this message is triggered by an error).
Property name: ExceptionAsErrorRecord.
Property type: ErrorRecord (see section 2.2.3.15). The FullyQualifiedErrorId property SHOULD have a value of "RemoteRunspaceStateInfoReason".
The Complex Object described in this section SHOULD have no associated type names (section 2.2.5.2.3).
Example:
-
<Obj RefId="1"> <MS> <I32 N="RunspaceState">2</I32> </MS> </Obj>