2.2.2.6 SET_MAX_RUNSPACES Message

The Data field of a PSRP message specifies a SET_MAX_RUNSPACES message when the MessageType field has a value of 0x00021002.

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):

  • Call ID

    • Property name: ci.

    • Property type: Signed long (see section 2.2.5.1.13).

  • Maximum number of runspaces in the RunspacePool

    • Property name: MaxRunspaces.

    • Property type: Signed int (see section 2.2.5.1.11)

The Complex Object described in this section SHOULD have no associated type names (section 2.2.5.2.3).

Example:

   <Obj RefId="5">
   <MS>
     <I32 N="MaxRunspaces">3</I32>
     <I64 N="ci">1</I64>
   </MS>
 </Obj>