InvalidCloudBlob.ChangeLeaseAsync Method

Definition

Overloads

ChangeLeaseAsync(String, AccessCondition)
ChangeLeaseAsync(String, AccessCondition, CancellationToken)
ChangeLeaseAsync(String, AccessCondition, BlobRequestOptions, OperationContext)
ChangeLeaseAsync(String, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

ChangeLeaseAsync(String, AccessCondition)

public override System.Threading.Tasks.Task<string> ChangeLeaseAsync (string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition);
override this.ChangeLeaseAsync : string * Microsoft.Azure.Storage.AccessCondition -> System.Threading.Tasks.Task<string>
Public Overrides Function ChangeLeaseAsync (proposedLeaseId As String, accessCondition As AccessCondition) As Task(Of String)

Parameters

proposedLeaseId
String
accessCondition
AccessCondition

Returns

Applies to

ChangeLeaseAsync(String, AccessCondition, CancellationToken)

public override System.Threading.Tasks.Task<string> ChangeLeaseAsync (string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition, System.Threading.CancellationToken cancellationToken);
override this.ChangeLeaseAsync : string * Microsoft.Azure.Storage.AccessCondition * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Overrides Function ChangeLeaseAsync (proposedLeaseId As String, accessCondition As AccessCondition, cancellationToken As CancellationToken) As Task(Of String)

Parameters

proposedLeaseId
String
accessCondition
AccessCondition
cancellationToken
CancellationToken

Returns

Applies to

ChangeLeaseAsync(String, AccessCondition, BlobRequestOptions, OperationContext)

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

Parameters

proposedLeaseId
String
accessCondition
AccessCondition
operationContext
OperationContext

Returns

Applies to

ChangeLeaseAsync(String, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

public override System.Threading.Tasks.Task<string> ChangeLeaseAsync (string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
override this.ChangeLeaseAsync : 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 ChangeLeaseAsync (proposedLeaseId As String, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of String)

Parameters

proposedLeaseId
String
accessCondition
AccessCondition
operationContext
OperationContext
cancellationToken
CancellationToken

Returns

Applies to