ILeaseProvider.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[] 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