Ends the session. This will inform the Session Manager and stop the automatic session renewal. A user must call EndSession when they have finished with the session. If this is not done then the instance will not cleanup correctly by the garbage collector.
Session Class | Bus.Services Namespace