Storage Client Library for Windows Phone (Version 7.0)

Microsoft Windows Azure Storage Blob

Initiates an asynchronous operation to acquire a lease on this blob.

Namespace:   Microsoft.WindowsAzure.Storage.Blob
Assembly:  Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Syntax

 
Task<string> AcquireLeaseAsync(
	Nullable<TimeSpan> leaseTime,
	string proposedLeaseId,
	AccessCondition accessCondition,
	BlobRequestOptions options,
	OperationContext operationContext
)
 
Task<String^>^ AcquireLeaseAsync(
	Nullable<TimeSpan> leaseTime,
	String^ proposedLeaseId,
	AccessCondition^ accessCondition,
	BlobRequestOptions^ options,
	OperationContext^ operationContext
)
 
abstract AcquireLeaseAsync : 
        leaseTime:Nullable<TimeSpan> *
        proposedLeaseId:string *
        accessCondition:AccessCondition *
        options:BlobRequestOptions *
        operationContext:OperationContext -> Task<string>
 
Function AcquireLeaseAsync (
	leaseTime As Nullable(Of TimeSpan),
	proposedLeaseId As String,
	accessCondition As AccessCondition,
	options As BlobRequestOptions,
	operationContext As OperationContext
) As Task(OfString)

Return Value

Type: System.Threading.Tasks.Task<String>System.Threading.Tasks::Task<String^>^System.Threading.Tasks.Task<String>System.Threading.Tasks.Task(Of String)

A Task object of type string that represents the asynchronous operation.

Return to top