ContextFactoryInit Method
Initializes the Messaging API. This method must be called at least once, before using
any of the messaging APIs. Typically ContextFactory.Init() is called once during
program initialization.
One property of interest is
LogDelegate, it allows
client applications to receive API log information.