2.2.2.15 RUNSPACEPOOL_HOST_CALL Message

The Data field of a PSRP message specifies a RUNSPACEPOOL_HOST_CALL message when the MessageType field has a value of 0x00021100.

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

  • Host method identifier

    • Property name: mi.

    • Property type: Host Method Identifier (see section 2.2.3.17).

  • Parameters for the method

    • Property name: mp.

    • Property type: Host Parameters Encoded (see section 2.2.6).

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

Example:

 <Obj RefId="0">
   <MS>
     <I64 N="ci">1</I64>
     <Obj N="mi" RefId="1">
       <TN RefId="0">
         <T>System.Management.Automation.Remoting.RemoteHostMethodId</T>
         <T>System.Enum</T>
         <T>System.ValueType</T>
         <T>System.Object</T>
       </TN>
       <ToString>ReadLine</ToString>
       <I32>11</I32>
     </Obj>
     <Obj N="mp" RefId="2">
       <TN RefId="1">
         <T>System.Collections.ArrayList</T>
         <T>System.Object</T>
       </TN>
       <LST />
     </Obj>
   </MS>
 </Obj>