CloudBlobContainer.ChangeLeaseAsync 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.
Overloads
ChangeLeaseAsync(String, AccessCondition)
[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<string> ChangeLeaseAsync (string proposedLeaseId, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition);
[<Microsoft.WindowsAzure.Storage.DoesServiceRequest>]
abstract member ChangeLeaseAsync : string * Microsoft.WindowsAzure.Storage.AccessCondition -> System.Threading.Tasks.Task<string>
override this.ChangeLeaseAsync : string * Microsoft.WindowsAzure.Storage.AccessCondition -> System.Threading.Tasks.Task<string>
Public Overridable Function ChangeLeaseAsync (proposedLeaseId As String, accessCondition As AccessCondition) As Task(Of String)
Parameters
- proposedLeaseId
- String
- accessCondition
- AccessCondition
Returns
- Attributes
Applies to
ChangeLeaseAsync(String, AccessCondition, BlobRequestOptions, OperationContext)
[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<string> ChangeLeaseAsync (string proposedLeaseId, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext);
[<Microsoft.WindowsAzure.Storage.DoesServiceRequest>]
abstract member ChangeLeaseAsync : string * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> System.Threading.Tasks.Task<string>
override this.ChangeLeaseAsync : string * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> System.Threading.Tasks.Task<string>
Public Overridable Function ChangeLeaseAsync (proposedLeaseId As String, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext) As Task(Of String)
Parameters
- proposedLeaseId
- String
- accessCondition
- AccessCondition
- options
- BlobRequestOptions
- operationContext
- OperationContext
Returns
- Attributes
Applies to
ChangeLeaseAsync(String, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)
[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<string> ChangeLeaseAsync (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 ChangeLeaseAsync : string * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
override this.ChangeLeaseAsync : 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 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
- options
- BlobRequestOptions
- operationContext
- OperationContext
- cancellationToken
- CancellationToken
Returns
- Attributes
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET