SALES: 1-800-867-1380

MessagingFactory.OnAcceptMessageSession Method

Executes the accept message session.

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

protected virtual MessageSession OnAcceptMessageSession(
	ReceiveMode receiveMode,
	TimeSpan timeout
)

Parameters

receiveMode
Type: Microsoft.ServiceBus.Messaging.ReceiveMode
The message receive mode.
timeout
Type: System.TimeSpan
The operation timeout.

Return Value

Type: Microsoft.ServiceBus.Messaging.MessageSession
The MessageSession that has been executed.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft