Share via


MessagingFactory.OnBeginAcceptMessageSession Method

Definition

Executes the begin accept message session action.

protected abstract IAsyncResult OnBeginAcceptMessageSession (Microsoft.ServiceBus.Messaging.ReceiveMode receiveMode, TimeSpan serverWaitTime, TimeSpan timeout, AsyncCallback callback, object state);
abstract member OnBeginAcceptMessageSession : Microsoft.ServiceBus.Messaging.ReceiveMode * TimeSpan * TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected MustOverride Function OnBeginAcceptMessageSession (receiveMode As ReceiveMode, serverWaitTime As TimeSpan, timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

receiveMode
ReceiveMode

The receive mode.

serverWaitTime
TimeSpan

The server wait time.

timeout
TimeSpan

The operation timeout.

callback
AsyncCallback

The asynchronous callback.

state
Object

The session state.

Returns

The asynchronous result of the operation.

Applies to