3.1.5.3.11 Rules for the wxf:Delete Message

To close a RunspacePool on the server, the client MUST initiate the close by sending a wxf:Delete message (as specified in [MS-WSMV] section 3.1.4.4.1). This message can be sent asynchronously to any outstanding messages on the RunspacePool, and therefore the RunspacePool will be forcibly closed. The following information is supplied in the delete message.

Element

Value

Uri

Network Uri to connect to.

ResourceURI

The Resource URI of the RunspacePool to which this wxf:Delete message is targeted. For more details, see section 3.1.5.3.3.

ShellId

The ShellID returned in the wxf:ResourceCreated message (see section 3.1.5.3.2).

If the wxf:Delete message is successfully received and processed by the server, the server MUST send either a success or a failure message. In either case, a response is sent from the server. A wxf:DeleteResponse message, described in [MS-WSMV] section 3.1.4.4.1, is sent to notify success. A wxf:Fault message, described in [MS-WSMV] section 2.2.4.43, is sent to notify failure.

Note that no PSRP messages are sent using wxf:Delete.