SALES: 1-800-867-1380

MessagingFactory.OnAcceptSessionReceiver Method

Executes the accept session receiver action.

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

protected virtual MessageSession OnAcceptSessionReceiver(
	string entityName,
	string sessionId,
	ReceiveMode receiveMode,
	TimeSpan timeout
)

Parameters

entityName
Type: System.String
The name of the entity.
sessionId
Type: System.String
The session identifier.
receiveMode
Type: Microsoft.ServiceBus.Messaging.ReceiveMode
The message receive mode.
timeout
Type: System.TimeSpan
The wait time before the operation times out.

Return Value

Type: Microsoft.ServiceBus.Messaging.MessageSession
An IAsyncResult object that references the asynchronous accept session receiver action.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft