共用方式為


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 相同

實作

適用於