SubscriptionClient.OnBeginAcceptMessageSession Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Executes upon calling the BeginAcceptMessageSession operation.
protected abstract IAsyncResult OnBeginAcceptMessageSession (string sessionId, Microsoft.ServiceBus.Messaging.ReceiveMode receiveMode, bool isExclusiveMode, Guid? lockToken, TimeSpan serverWaitTime, TimeSpan timeout, AsyncCallback callback, object state);
abstract member OnBeginAcceptMessageSession : string * Microsoft.ServiceBus.Messaging.ReceiveMode * bool * Nullable<Guid> * TimeSpan * TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected MustOverride Function OnBeginAcceptMessageSession (sessionId As String, receiveMode As ReceiveMode, 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
The session identifier of the message session.
- receiveMode
- ReceiveMode
The receive mode when processing with the receive messages.
- isExclusiveMode
- Boolean
- serverWaitTime
- TimeSpan
The time span the server waits for processing messages before it times out
- timeout
- TimeSpan
The time span the server waits for processing messages before it times out.
- callback
- AsyncCallback
An AsyncCallback delegate that references the method to invoke when the operation is complete.
- state
- Object
A user-defined object that contains state information about the asynchronous operation.
Returns
An IAsyncResult that references the asynchronous operation to accept a message session.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應