共用方式為


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

適用於