If the service program is not awaiting a request when this tag is rendered, the program must call
ServiceTimeout seconds. The call then returns with the
BIS-Fail-ProgramTerminated return code. At that point, the program is granted an additional
ServiceTimeout seconds to terminate.
If the program is still running when either
ServiceTimeout period expires, a termination signal is sent.
StopService tag is rendered, the service program is immediately disconnected from the session. For example, an
XMLExchange tag immediately after a
StopService tag is invalid and, if present, the
OnExit parameter in that tag will be processed.
StopService tag may be immediately followed by a
StartService tag. In this case, a new service program is started. Once the
StopService tag is rendered, the service program is considered terminated even if it needs a few additional seconds to actually stop.
This tag is ignored if there is no service program attached to this session.