Export (0) Print
Expand All

MessagingFactory.AcceptMessageSession Method

Returns available sessions across all session-enabled subscriptions and queues in the service namespace. This can be useful for scenarios in which you have large numbers of messaging entities.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method AcceptMessageSession() Returns available sessions across all session-enabled subscriptions and queues in the service namespace.
Public method AcceptMessageSession(TimeSpan) Returns available sessions across all session-enabled subscriptions and queues in the service namespace.
Top

AcceptMessageSession() works within the scope of the entire service namespace. It currently only supports session-enabled entities, and does not include the dead-letter queue (or other sub-queues).

Note Note

AcceptMessageSession is currently only supported in the Service Bus for Windows Server. In the Windows Azure Service Bus, a NotSupportedException exception is returned.

Community Additions

ADD
Show:
© 2014 Microsoft