C#
C++
F#
VB
ICloudBlob.::..BreakLeaseAsync Method (Nullable<TimeSpan>)(Nullable<TimeSpan>)(Nullable<TimeSpan>)(Nullable(Of TimeSpan))
Initiates an asynchronous operation to break the current lease on this blob.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
Parameters
- breakPeriod
-
Type:
System.Nullable<TimeSpan>System::Nullable<TimeSpan>System.Nullable<TimeSpan>System.Nullable(Of TimeSpan)
A TimeSpan representing the amount of time to allow the lease to remain, which will be rounded down to seconds.
Return Value
Type: System.Threading.Tasks.Task<TimeSpan>System.Threading.Tasks::Task<TimeSpan>^System.Threading.Tasks.Task<TimeSpan>System.Threading.Tasks.Task(Of TimeSpan)A Task object of type TimeSpan that represents the asynchronous operation.