Condividi tramite


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 ();
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.

Applies to

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

The processing time out.

Returns

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

Applies to