Redigera

Dela via


InMemoryLeaseProvider.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[]>
override this.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

Implements

Applies to