CloudBlob.ReleaseLeaseAsync Method (AccessCondition) (Microsoft.WindowsAzure.Storage.Blob)
From Microsoft Windows Azure Storage Blob
C#
C++
F#
VB
CloudBlob.::..ReleaseLeaseAsync Method (AccessCondition)(AccessCondition^)(AccessCondition)(AccessCondition)
Initiates an asynchronous operation to release the lease on this blob.
Namespace:
Microsoft.WindowsAzure.Storage.Blob
Assembly:
Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[DoesServiceRequestAttribute]
public virtual Task ReleaseLeaseAsync(
AccessCondition accessCondition
)
C++
public:
[DoesServiceRequestAttribute]
virtual Task^ ReleaseLeaseAsync(
AccessCondition^ accessCondition
)
[<DoesServiceRequestAttribute>]
abstract ReleaseLeaseAsync :
accessCondition:AccessCondition -> Task
[<DoesServiceRequestAttribute>]
override ReleaseLeaseAsync :
accessCondition:AccessCondition -> Task
<DoesServiceRequestAttribute>
Public Overridable Function ReleaseLeaseAsync (
accessCondition As AccessCondition
) As Task
Parameters
- accessCondition
-
Type:
Microsoft.WindowsAzure.Storage.AccessConditionMicrosoft.WindowsAzure.Storage::AccessCondition^Microsoft.WindowsAzure.Storage.AccessConditionMicrosoft.WindowsAzure.Storage.AccessCondition
An AccessCondition object that represents the condition that must be met in order for the request to proceed, including a required lease ID.
Return Value
Type:
System.Threading.Tasks.TaskSystem.Threading.Tasks::Task^System.Threading.Tasks.TaskSystem.Threading.Tasks.TaskA Task object that represents the asynchronous operation.
Return to top
Initiates an asynchronous operation to release the lease on this blob.
Syntax
[DoesServiceRequestAttribute] public virtual Task ReleaseLeaseAsync( AccessCondition accessCondition )
C++
public: [DoesServiceRequestAttribute] virtual Task^ ReleaseLeaseAsync( AccessCondition^ accessCondition )
[<DoesServiceRequestAttribute>] abstract ReleaseLeaseAsync : accessCondition:AccessCondition -> Task [<DoesServiceRequestAttribute>] override ReleaseLeaseAsync : accessCondition:AccessCondition -> Task
<DoesServiceRequestAttribute> Public Overridable Function ReleaseLeaseAsync ( accessCondition As AccessCondition ) As Task
Parameters
- accessCondition
-
Type:
Microsoft.WindowsAzure.Storage.AccessConditionMicrosoft.WindowsAzure.Storage::AccessCondition^Microsoft.WindowsAzure.Storage.AccessConditionMicrosoft.WindowsAzure.Storage.AccessCondition
An AccessCondition object that represents the condition that must be met in order for the request to proceed, including a required lease ID.
Return Value
Type: System.Threading.Tasks.TaskSystem.Threading.Tasks::Task^System.Threading.Tasks.TaskSystem.Threading.Tasks.TaskA Task object that represents the asynchronous operation.