共用方式為


ILeaseProvider.Acquire(String, LeaseRequest[]) 方法

定義

批次取得租用作業

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

參數

category
String

資源類別

leaseRequests
LeaseRequest[]

傳回

租用取得結果陣列,其順序與 leaseRequstes 相同

適用於