TTMSMCPTransport.OnSessionRemoved Event
Fires when a session-aware channel ends a session.
API unit family: TMS.MCP.Transport
Declaring type: TTMSMCPTransport
Syntax
OnSessionRemoved: TTMSMCPTransportSessionRemovedEvent;
Remarks
Never fires on a channel that does not track sessions. Use it to release per-session state; the identifier is not reused afterwards.
Parameters
| Name | Description |
|---|---|
SessionId |
Identifier of the session that ended. The handler releases the state it keyed on this value; the identifier is not used again afterwards. |