Edit

Share via


ILeaseProvider.Renew(String, AcquiredLease[]) Method

Definition

Batch renew lease operation

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

Parameters

category
String

resource category

aquiredLeases
AcquiredLease[]

Returns

Lease renew results array, whose order is the same with acquiredLeases

Applies to