Share via


QueueClient.OnBeginAcceptMessageSession Method

Definition

protected abstract IAsyncResult OnBeginAcceptMessageSession (string sessionId, Microsoft.ServiceBus.Messaging.ReceiveMode receiveMode, int prefetchCount, bool isExclusiveMode, Guid? lockToken, TimeSpan serverWaitTime, TimeSpan timeout, AsyncCallback callback, object state);
abstract member OnBeginAcceptMessageSession : string * Microsoft.ServiceBus.Messaging.ReceiveMode * int * bool * Nullable<Guid> * TimeSpan * TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected MustOverride Function OnBeginAcceptMessageSession (sessionId As String, receiveMode As ReceiveMode, prefetchCount As Integer, isExclusiveMode As Boolean, lockToken As Nullable(Of Guid), serverWaitTime As TimeSpan, timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

sessionId
String
receiveMode
ReceiveMode
prefetchCount
Int32
isExclusiveMode
Boolean
lockToken
Nullable<Guid>
serverWaitTime
TimeSpan
timeout
TimeSpan
callback
AsyncCallback
state
Object

Returns

Applies to