QueueClient.OnBeginAcceptMessageSession(String, ReceiveMode, Int32, Boolean, Nullable<Guid>, TimeSpan, TimeSpan, AsyncCallback, Object) Method

Definition

protected abstract IAsyncResult OnBeginAcceptMessageSession (string sessionId, Microsoft.ServiceBus.Messaging.ReceiveMode receiveMode, int prefetchCount, bool isExclusiveMode, Nullable<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

Parameters

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

Returns

System.IAsyncResult

Applies to