execute(SessionCallback),
+ /// allowing the EMS Connection to be started on the fly.
+ /// Use execute(SessionCallback) for the general case.
+ /// Starting the EMS Connection is just necessary for receiving messages,
+ /// which is preferably achieved through the receive methods.
null if the timeout expires
/// null if the timeout expires
/// null if the timeout expires
/// null if the timeout expires
/// null if the timeout expires
/// null if the timeout expires
/// null if the timeout expires.
/// null if the timeout expires.
/// null if the timeout expires.
/// null if the timeout expires.
/// null if the timeout expires.
/// null if the timeout expires.
/// null if none).
+ /// The action callback object that exposes the session/browser pair.
+ /// null if none).
+ /// The action callback object that exposes the session/browser pair.
+ /// null if none).
+ /// The action callback object that exposes the session/browser pair.
+ /// null if none).
+ /// The action callback delegate that exposes the session/browser pair.
+ /// null if none).
+ /// The action callback delegate that exposes the session/browser pair.
+ /// null if none).
+ /// The action callback delegate that exposes the session/browser pair.
+ /// null if the timeout expires
/// null if the timeout expires
/// null if the timeout expires
/// null if the timeout expires
/// null if the timeout expires
/// null if the timeout expires
/// null if the timeout expires.
/// null if the timeout expires.
/// null if the timeout expires.
/// null if the timeout expires.
/// null if the timeout expires.
/// null if the timeout expires.
/// null if none).
+ /// The action callback object that exposes the session/browser pair.
+ /// null if none).
+ /// The action callback object that exposes the session/browser pair.
+ /// null if none).
+ /// The action callback object that exposes the session/browser pair.
+ /// null if none).
+ /// The action callback delegate that exposes the session/browser pair.
+ /// null if none).
+ /// The action callback delegate that exposes the session/browser pair.
+ /// null if none).
+ /// The action callback delegate that exposes the session/browser pair.
+ /// finally blocks in manual EMS code.
+ /// null.
+ public static void CloseQueueBrowser(QueueBrowser browser)
+ {
+ if (browser != null)
+ {
+ try
+ {
+ browser.Close();
+ } catch (EMSException ex)
+ {
+ logger.Debug("Could not close EMS QueueBrowser", ex);
+ } catch (Exception ex)
+ {
+ logger.Debug("Unexpected exception on closing EMS QueueBrowser", ex);
+ }
+ }
+ }
}
}