你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ILeaseManager.GetAllLeasesAsync 方法

定义

返回所有分区的租约信息。 典型的实现只需在所有分区上调用 GetLeaseAsync () 。

public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.EventHubs.Processor.Lease>> GetAllLeasesAsync ();
abstract member GetAllLeasesAsync : unit -> System.Threading.Tasks.Task<seq<Microsoft.Azure.EventHubs.Processor.Lease>>
Public Function GetAllLeasesAsync () As Task(Of IEnumerable(Of Lease))

返回

租约信息列表。

适用于