A container for the information associated with a particular Session. Such information may be required during the servicing of a task from a Session.

C# |
public sealed class SessionContext

All Members | Methods | Properties | |||
Icon | Member | Description |
---|---|---|
![]() | DiscardCommonData()()()() | Frees the middleware's local copy of the common data. |
![]() | GetCommonData()()()() | Retrieves the Serializable common data Object that was passed in when the Session was created. |
![]() | IsUpdated(SessionUpdateTypes) | |
![]() | PopulateCommonData(Message) | Populates commonData with the data contained in the Message that was passed in when the Session was created. |
![]() | SessionId | Gets the identifier for the associated Session, as provided by SOAM. |

NOTE: If any of the methods of this class are called after the Main(...) method exits, the client or service process may behave in an undefined manner (for example, hang or terminate abnormally).

Object | |
![]() | SessionContext |

[ServiceContainer.onSessionEnter]