MessagingFactory.OnBeginAcceptMessageSession Method (ReceiveMode, TimeSpan, TimeSpan, AsyncCallback, Object)

 

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 serverWaitTime,
	TimeSpan timeout,
	AsyncCallback callback,
	object state
)

Parameters

receiveMode
Type: Microsoft.ServiceBus.Messaging.ReceiveMode

The receive mode.

serverWaitTime
Type: System.TimeSpan

The server wait time.

timeout
Type: System.TimeSpan

The operation timeout.

callback
Type: System.AsyncCallback

The asynchronous callback.

state
Type: System.Object

The session state.

Return Value

Type: System.IAsyncResult

The asynchronous result of the operation.

Return to top
Show: