InvalidCloudBlob.AcquireLeaseAsync Method

Definition

Overloads

AcquireLeaseAsync(Nullable<TimeSpan>, String)
AcquireLeaseAsync(Nullable<TimeSpan>, String, CancellationToken)
AcquireLeaseAsync(Nullable<TimeSpan>, String, AccessCondition, BlobRequestOptions, OperationContext)
AcquireLeaseAsync(Nullable<TimeSpan>, String, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

AcquireLeaseAsync(Nullable<TimeSpan>, String)

public override System.Threading.Tasks.Task<string> AcquireLeaseAsync (TimeSpan? leaseTime, string proposedLeaseId = default);
override this.AcquireLeaseAsync : Nullable<TimeSpan> * string -> System.Threading.Tasks.Task<string>
Public Overrides Function AcquireLeaseAsync (leaseTime As Nullable(Of TimeSpan), Optional proposedLeaseId As String = Nothing) As Task(Of String)

Parameters

leaseTime
Nullable<TimeSpan>
proposedLeaseId
String

Returns

Applies to

AcquireLeaseAsync(Nullable<TimeSpan>, String, CancellationToken)

public override System.Threading.Tasks.Task<string> AcquireLeaseAsync (TimeSpan? leaseTime, string proposedLeaseId, System.Threading.CancellationToken cancellationToken);
override this.AcquireLeaseAsync : Nullable<TimeSpan> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Overrides Function AcquireLeaseAsync (leaseTime As Nullable(Of TimeSpan), proposedLeaseId As String, cancellationToken As CancellationToken) As Task(Of String)

Parameters

leaseTime
Nullable<TimeSpan>
proposedLeaseId
String
cancellationToken
CancellationToken

Returns

Applies to

AcquireLeaseAsync(Nullable<TimeSpan>, String, AccessCondition, BlobRequestOptions, OperationContext)

public override System.Threading.Tasks.Task<string> AcquireLeaseAsync (TimeSpan? leaseTime, string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
override this.AcquireLeaseAsync : Nullable<TimeSpan> * string * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<string>
Public Overrides Function AcquireLeaseAsync (leaseTime As Nullable(Of TimeSpan), proposedLeaseId As String, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext) As Task(Of String)

Parameters

leaseTime
Nullable<TimeSpan>
proposedLeaseId
String
accessCondition
AccessCondition
operationContext
OperationContext

Returns

Applies to

AcquireLeaseAsync(Nullable<TimeSpan>, String, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

public override System.Threading.Tasks.Task<string> AcquireLeaseAsync (TimeSpan? leaseTime, string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
override this.AcquireLeaseAsync : Nullable<TimeSpan> * string * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Overrides 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)

Parameters

leaseTime
Nullable<TimeSpan>
proposedLeaseId
String
accessCondition
AccessCondition
operationContext
OperationContext
cancellationToken
CancellationToken

Returns

Applies to