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

定义

批量续订租约操作

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

参数

category
String

资源类别

aquiredLeases
AcquiredLease[]

返回

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

适用于