CloudBlobContainer.ReleaseLeaseAsync Method (AccessCondition) (Microsoft.WindowsAzure.Storage.Blob)
From Microsoft Windows Azure Storage Blob
C#
C++
F#
VB
CloudBlobContainer.::..ReleaseLeaseAsync Method (AccessCondition)(AccessCondition^)(AccessCondition)(AccessCondition)
Initiates an asynchronous operation that releases the lease on this container.
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.
See Also
ReleaseLeaseAsync Overload
CloudBlobContainer Class
Microsoft.WindowsAzure.Storage.Blob Namespace
Return to top
Initiates an asynchronous operation that releases the lease on this container.
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.
See Also
ReleaseLeaseAsync Overload
CloudBlobContainer Class
Microsoft.WindowsAzure.Storage.Blob Namespace