SALES: 1-800-867-1380

MessagingFactory.AcceptMessageSessionAsync Method (TimeSpan)

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

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public Task<MessageSession> AcceptMessageSessionAsync(
	TimeSpan timeout
)

Parameters

timeout
Type: System.TimeSpan
The processing time out.

Return Value

Type: System.Threading.Tasks.Task<MessageSession>
A task instance that represents the asynchronous operation for accept message session.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft