ICloudBlob.BreakLeaseAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| BreakLeaseAsync(Nullable<TimeSpan>) | |
| BreakLeaseAsync(Nullable<TimeSpan>, AccessCondition, BlobRequestOptions, OperationContext) |
BreakLeaseAsync(Nullable<TimeSpan>)
public System.Threading.Tasks.Task<TimeSpan> BreakLeaseAsync(TimeSpan? breakPeriod);
abstract member BreakLeaseAsync : Nullable<TimeSpan> -> System.Threading.Tasks.Task<TimeSpan>
Public Function BreakLeaseAsync (breakPeriod As Nullable(Of TimeSpan)) As Task(Of TimeSpan)
Parameters
- breakPeriod
- System.Nullable<System.TimeSpan>
Returns
System.Threading.Tasks.Task<System.TimeSpan>
Applies to
BreakLeaseAsync(Nullable<TimeSpan>, AccessCondition, BlobRequestOptions, OperationContext)
public System.Threading.Tasks.Task<TimeSpan> BreakLeaseAsync(TimeSpan? breakPeriod, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext);
abstract member BreakLeaseAsync : Nullable<TimeSpan> * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> System.Threading.Tasks.Task<TimeSpan>
Public Function BreakLeaseAsync (breakPeriod As Nullable(Of TimeSpan), accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext) As Task(Of TimeSpan)
Parameters
- breakPeriod
- System.Nullable<System.TimeSpan>
- accessCondition
- AccessCondition
- options
- BlobRequestOptions
- operationContext
- OperationContext
Returns
System.Threading.Tasks.Task<System.TimeSpan>