Storage Client Library for Windows Phone (Version 7.0)

Microsoft Windows Azure Storage Blob

Initiates an asynchronous operation to break the current lease on this blob.

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

Syntax

 
Task<TimeSpan> BreakLeaseAsync(
	Nullable<TimeSpan> breakPeriod
)
 
Task<TimeSpan>^ BreakLeaseAsync(
	Nullable<TimeSpan> breakPeriod
)
 
abstract BreakLeaseAsync : 
        breakPeriod:Nullable<TimeSpan> -> Task<TimeSpan>
 
Function BreakLeaseAsync (
	breakPeriod As Nullable(Of TimeSpan)
) As Task(Of TimeSpan)

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 to top