Edit

Share via


ILeaseProvider.Acquire(String, LeaseRequest[]) Method

Definition

Batch acquire leases operation

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())

Parameters

category
String

resource category

leaseRequests
LeaseRequest[]

Returns

Lease acquiring results array, whose order is the same with leaseRequstes

Applies to