Creates a connection with the default user identity.
The connection is created in stopped mode. No messages
will be delivered until the IConnection.Start method
is explicitly called.
Namespace:
Kaazing.JMSAssembly: Kaazing.JMS (in Kaazing.JMS.dll)
Syntax
| Visual Basic |
|---|
Function CreateConnection As IConnection |
| C# |
|---|
IConnection CreateConnection() |
| Visual C++ |
|---|
IConnection^ CreateConnection() |
Return Value
a newly created connection
Exceptions
| Exception | Condition |
|---|---|
| Kaazing.JMS..::..JMSException | if the JMS provider fails to create the connection due to some internal error. |
| Kaazing.JMS..::..JMSSecurityException | if client authentication fails due to an invalid user name or password. |