Compartir a través de


ILeaseManager.UpdatePropertiesAsync(ILease) Método

Definición

Reemplace las propiedades de la concesión especificada.

public System.Threading.Tasks.Task<Microsoft.Azure.Documents.ChangeFeedProcessor.PartitionManagement.ILease> UpdatePropertiesAsync (Microsoft.Azure.Documents.ChangeFeedProcessor.PartitionManagement.ILease leaseToUpdatePropertiesFrom);
abstract member UpdatePropertiesAsync : Microsoft.Azure.Documents.ChangeFeedProcessor.PartitionManagement.ILease -> System.Threading.Tasks.Task<Microsoft.Azure.Documents.ChangeFeedProcessor.PartitionManagement.ILease>
Public Function UpdatePropertiesAsync (leaseToUpdatePropertiesFrom As ILease) As Task(Of ILease)

Parámetros

leaseToUpdatePropertiesFrom
ILease

Concesión que contiene nuevas propiedades

Devoluciones

Concesión actualizada

Excepciones

Se produce si otro host adquirió la concesión.

Se aplica a