SALES: 1-800-867-1380

MessagingFactory.OnBeginAcceptMessageSession Method

Executes the begin accept message session action.

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

protected abstract IAsyncResult OnBeginAcceptMessageSession(
	ReceiveMode receiveMode,
	TimeSpan timeout,
	AsyncCallback callback,
	Object state
)

Parameters

receiveMode
Type: Microsoft.ServiceBus.Messaging.ReceiveMode
The message receive mode.
timeout
Type: System.TimeSpan
The wait time before the operation times out.
callback
Type: System.AsyncCallback
The message callback.
state
Type: System.Object
The state.

Return Value

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

Community Additions

Show:
© 2014 Microsoft