An object that encapsulates the event handlers for the asynchronous receipt of task responses.

C# |
public sealed class SessionCallback

All Members | Constructors | Methods | |||
Icon | Member | Description |
---|---|---|
![]() | SessionCallback()()() | |
![]() | __dtor()()() |

The SessionCallback should be supplied as an argument when creating or opening a Session. The callback will be invoked whenever a task belonging to the given Session has completed or returned with error.
The SessionCallback will provide the most efficient use of the middleware (as opposed to synchronous task retrieval using Session.FetchTaskOutput).
IMPORTANT NOTE: To avoid missing any events, you must register your event handlers before creating or opening your Session.
Object | |
![]() | SessionCallback |

[Platform.Symphony.Soam.Connection.CreateSession]
[Platform.Symphony.Soam.Connection.OpenSession]
[Platform.Symphony.Soam.Connection.OpenSession]