SubscriptionClient.GetMessageSessionsAsync 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.
Overloads
GetMessageSessionsAsync() |
Asynchronously gets a message session that allows grouping of related messages for processing in a single transaction. |
GetMessageSessionsAsync(DateTime) |
Asynchronously gets a message session that allows grouping of related messages for processing in a single transaction. |
GetMessageSessionsAsync()
Asynchronously gets a message session that allows grouping of related messages for processing in a single transaction.
public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.ServiceBus.Messaging.MessageSession>> GetMessageSessionsAsync ();
abstract member GetMessageSessionsAsync : unit -> System.Threading.Tasks.Task<seq<Microsoft.ServiceBus.Messaging.MessageSession>>
override this.GetMessageSessionsAsync : unit -> System.Threading.Tasks.Task<seq<Microsoft.ServiceBus.Messaging.MessageSession>>
Public Function GetMessageSessionsAsync () As Task(Of IEnumerable(Of MessageSession))
Returns
A task instance that represents the asynchronous get message sessions operation.
Applies to
GetMessageSessionsAsync(DateTime)
Asynchronously gets a message session that allows grouping of related messages for processing in a single transaction.
public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.ServiceBus.Messaging.MessageSession>> GetMessageSessionsAsync (DateTime lastUpdatedTime);
abstract member GetMessageSessionsAsync : DateTime -> System.Threading.Tasks.Task<seq<Microsoft.ServiceBus.Messaging.MessageSession>>
override this.GetMessageSessionsAsync : DateTime -> System.Threading.Tasks.Task<seq<Microsoft.ServiceBus.Messaging.MessageSession>>
Public Function GetMessageSessionsAsync (lastUpdatedTime As DateTime) As Task(Of IEnumerable(Of MessageSession))
Parameters
- lastUpdatedTime
- DateTime
The time the session was last updated.
Returns
A task instance that represents the asynchronous get message sessions operation.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應