InMemoryLeaseProvider.Renew(String, AcquiredLease[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Batch renew lease operation
public System.Threading.Tasks.Task<Orleans.LeaseProviders.AcquireLeaseResult[]> Renew (string category, Orleans.LeaseProviders.AcquiredLease[] acquiredLeases);
abstract member Renew : string * Orleans.LeaseProviders.AcquiredLease[] -> System.Threading.Tasks.Task<Orleans.LeaseProviders.AcquireLeaseResult[]>
override this.Renew : string * Orleans.LeaseProviders.AcquiredLease[] -> System.Threading.Tasks.Task<Orleans.LeaseProviders.AcquireLeaseResult[]>
Public Function Renew (category As String, acquiredLeases As AcquiredLease()) As Task(Of AcquireLeaseResult())
Parameters
- category
- String
resource category
- acquiredLeases
- AcquiredLease[]
Returns
Lease renew results array, whose order is the same with acquiredLeases