WebLogic Messaging API Class Library |

# ISession.SessionMode Property

Returns the session mode as a `Constants.SessionMode`. The SessionMode mode is set at the time that the session is created. If the session is transacted, returns `Constants.SessionMode.SESSION_TRANSACTED`.

SessionMode {get;}

#### Exceptions

Exception Type | Condition
--- | ---
MessageException | if JMS fails to return the SessionMode mode due to some internal error.

#### See Also

ISession Interface | WebLogic.Messaging Namespace | IConnection.CreateSession | Constants.SessionMode