MessagingFactory.AcceptMessageSession Method

Definition

Overloads

AcceptMessageSession()

Returns available sessions across all session-enabled subscriptions and queues in the service namespace.

AcceptMessageSession(TimeSpan)

Returns available sessions across all session-enabled subscriptions and queues in the service namespace.

AcceptMessageSession()

Returns available sessions across all session-enabled subscriptions and queues in the service namespace.

public Microsoft.ServiceBus.Messaging.MessageSession AcceptMessageSession ();
Returns

A MessageSession that allows grouping of related messages for processing in a single transaction.

AcceptMessageSession(TimeSpan)

Returns available sessions across all session-enabled subscriptions and queues in the service namespace.

public Microsoft.ServiceBus.Messaging.MessageSession AcceptMessageSession (TimeSpan serverWaitTime);
Parameters
serverWaitTime
TimeSpan

The processing time out.

Returns

A MessageSession that allows grouping of related messages for processing in a single transaction.

Applies to