Creates a Session on this Connection with the provided attributes, or default attributes if not provided.

C# |
public Session CreateSession( SessionCreationAttributes attributes )

- attributes (SessionCreationAttributes)
- The attributes to apply to the session upon creation.

The created Session

Note: For recoverable sessions, all submissions will wait for a special confirmation from the middleware that the submission has been stored in a manner that it can be recovered. This means that the submission times may be longer than those of non-recoverable sessions.
Create a recoverable session by setting the recoverable flag "true" in the Application Profile.