Sends a Stop ApplicationSession XML message to the server. If Devices have objects that are registered the API will attempt to
unregister them BEFORE sending this message. In general, the application should have unregistered all devices (and processed the
unregistration response) BEFORE invoking this method.
The Invoke Id of the outgoing XML message.
Assembly: ServiceProvider (Module: ServiceProvider)