MessagingFactory.AcceptMessageSession MessagingFactory.AcceptMessageSession MessagingFactory.AcceptMessageSession Method

Definition

Overloads

AcceptMessageSession() AcceptMessageSession() AcceptMessageSession()

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

AcceptMessageSession(TimeSpan) AcceptMessageSession(TimeSpan) AcceptMessageSession(TimeSpan)

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

AcceptMessageSession() AcceptMessageSession() AcceptMessageSession()

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

public Microsoft.ServiceBus.Messaging.MessageSession AcceptMessageSession ();
member this.AcceptMessageSession : unit -> Microsoft.ServiceBus.Messaging.MessageSession
Public Function AcceptMessageSession () As MessageSession
Returns

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

AcceptMessageSession(TimeSpan) AcceptMessageSession(TimeSpan) AcceptMessageSession(TimeSpan)

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

public Microsoft.ServiceBus.Messaging.MessageSession AcceptMessageSession (TimeSpan serverWaitTime);
member this.AcceptMessageSession : TimeSpan -> Microsoft.ServiceBus.Messaging.MessageSession
Public Function AcceptMessageSession (serverWaitTime As TimeSpan) As MessageSession
Parameters
serverWaitTime
TimeSpan TimeSpan TimeSpan

The processing time out.

Returns

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

Applies to