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

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