InMemoryLeaseProvider.Renew(String, AcquiredLease[]) 方法

定义

批量续订租约操作

public System.Threading.Tasks.Task<Orleans.LeaseProviders.AcquireLeaseResult[]> Renew (string category, Orleans.LeaseProviders.AcquiredLease[] acquiredLeases);
abstract member Renew : string * Orleans.LeaseProviders.AcquiredLease[] -> System.Threading.Tasks.Task<Orleans.LeaseProviders.AcquireLeaseResult[]>
override this.Renew : string * Orleans.LeaseProviders.AcquiredLease[] -> System.Threading.Tasks.Task<Orleans.LeaseProviders.AcquireLeaseResult[]>
Public Function Renew (category As String, acquiredLeases As AcquiredLease()) As Task(Of AcquireLeaseResult())

参数

category
String

资源类别

acquiredLeases
AcquiredLease[]

返回

租约续订结果数组,其顺序与 acquiredLeases 相同

实现

适用于