MessagingFactory.OnBeginAcceptMessageSession(ReceiveMode, TimeSpan, TimeSpan, AsyncCallback, Object) MessagingFactory.OnBeginAcceptMessageSession(ReceiveMode, TimeSpan, TimeSpan, AsyncCallback, Object) 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
Parameters
receiveMode
ReceiveMode ReceiveMode

The receive mode.

serverWaitTime
TimeSpan TimeSpan

The server wait time.

timeout
TimeSpan TimeSpan

The operation timeout.

callback
AsyncCallback AsyncCallback

The asynchronous callback.

state
Object Object

The session state.

Returns

The asynchronous result of the operation.

Applies to