CloudBlobContainer.AcquireLeaseAsync Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
AcquireLeaseAsync(Nullable<TimeSpan>, String)
[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<string> AcquireLeaseAsync (TimeSpan? leaseTime, string proposedLeaseId = default);
[<Microsoft.WindowsAzure.Storage.DoesServiceRequest>]
abstract member AcquireLeaseAsync : Nullable<TimeSpan> * string -> System.Threading.Tasks.Task<string>
override this.AcquireLeaseAsync : Nullable<TimeSpan> * string -> System.Threading.Tasks.Task<string>
Public Overridable Function AcquireLeaseAsync (leaseTime As Nullable(Of TimeSpan), Optional proposedLeaseId As String = Nothing) As Task(Of String)
Parâmetros
- proposedLeaseId
- String
Retornos
- Atributos
Aplica-se a
AcquireLeaseAsync(Nullable<TimeSpan>, String, AccessCondition, BlobRequestOptions, OperationContext)
[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<string> AcquireLeaseAsync (TimeSpan? leaseTime, string proposedLeaseId, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext);
[<Microsoft.WindowsAzure.Storage.DoesServiceRequest>]
abstract member AcquireLeaseAsync : Nullable<TimeSpan> * string * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> System.Threading.Tasks.Task<string>
override this.AcquireLeaseAsync : Nullable<TimeSpan> * string * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> System.Threading.Tasks.Task<string>
Public Overridable Function AcquireLeaseAsync (leaseTime As Nullable(Of TimeSpan), proposedLeaseId As String, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext) As Task(Of String)
Parâmetros
- proposedLeaseId
- String
- accessCondition
- AccessCondition
- options
- BlobRequestOptions
- operationContext
- OperationContext
Retornos
- Atributos
Aplica-se a
AcquireLeaseAsync(Nullable<TimeSpan>, String, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)
[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<string> AcquireLeaseAsync (TimeSpan? leaseTime, string proposedLeaseId, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
[<Microsoft.WindowsAzure.Storage.DoesServiceRequest>]
abstract member AcquireLeaseAsync : Nullable<TimeSpan> * string * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
override this.AcquireLeaseAsync : Nullable<TimeSpan> * string * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Overridable Function AcquireLeaseAsync (leaseTime As Nullable(Of TimeSpan), proposedLeaseId As String, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of String)
Parâmetros
- proposedLeaseId
- String
- accessCondition
- AccessCondition
- options
- BlobRequestOptions
- operationContext
- OperationContext
- cancellationToken
- CancellationToken
Retornos
- Atributos
Aplica-se a
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET