Creates a ISession object.
Constants.SessionMode.AUTO_ACKNOWLEDGE, Constants.SessionMode.CLIENT_ACKNOWLEDGE, and Constants.SessionMode.DUPS_OK_ACKNOWLEDGE. a newly created session
| Exception Type | Condition |
|---|---|
| MessageException | if the IConnection object fails to create a session due to some internal error or lack of support for the specific transaction and acknowledgement mode. |
IConnection Interface | WebLogic.Messaging Namespace | AUTO_ACKNOWLEDGE | CLIENT_ACKNOWLEDGE | DUPS_OK_ACKNOWLEDGE